62 :
JSC::JSVariableObject(structure, new
Data(false))
65 for (
int i = 0; i < propertyCount; ++i, --
index) {
67 JSC::SymbolTableEntry entry(index, prop.
attributes);
68 symbolTable().add(prop.
identifier.ustring().rep(), entry);
69 registerAt(index) = prop.
value;
87 :
JSC::JSVariableObject(structure, new
Data(true))
98 return symbolTableGet(propertyName, slot);
103 return symbolTableGet(propertyName, descriptor);
108 if (symbolTablePutWithAttributes(propertyName, value, attributes))
116 if (symbolTablePut(propertyName, value))
129 JSC::Register* registerArray =
d_ptr()->registerArray.get();
132 markStack.appendValues(reinterpret_cast<JSC::JSValue*>(registerArray),
d_ptr()->registerArraySize);
138 JSC::SymbolTableEntry newEntry(index, attributes | JSC::DontDelete);
139 symbolTable().add(name.ustring().rep(), newEntry);
140 registerAt(index) = value;
151 size_t newSize = oldSize + count;
152 JSC::Register* registerArray =
new JSC::Register[newSize];
153 if (
d_ptr()->registerArray)
154 memcpy(registerArray + count,
d_ptr()->registerArray.get(), oldSize *
sizeof(JSC::Register));
155 setRegisters(registerArray + newSize, registerArray);
JSC::Identifier identifier
virtual void markChildren(JSC::MarkStack &)
#define QT_END_NAMESPACE
This macro expands to.
ASSERT_CLASS_FITS_IN_CELL(::QScript::QScriptActivationObject)
virtual ~QScriptStaticScopeObject()
QScriptStaticScopeObject(WTF::NonNullPassRefPtr< JSC::Structure > structure, int propertyCount, const PropertyInfo *)
Creates a static scope object with a fixed set of undeletable properties.
virtual bool getOwnPropertyDescriptor(JSC::ExecState *, const JSC::Identifier &propertyName, JSC::PropertyDescriptor &)
void addSymbolTableProperty(const JSC::Identifier &, JSC::JSValue, unsigned attributes)
#define QT_BEGIN_NAMESPACE
This macro expands to.
#define QT_PREPEND_NAMESPACE(name)
This macro qualifies identifier with the full namespace.
virtual bool getOwnPropertySlot(JSC::ExecState *, const JSC::Identifier &propertyName, JSC::PropertySlot &)
virtual void putWithAttributes(JSC::ExecState *exec, const JSC::Identifier &propertyName, JSC::JSValue value, unsigned attributes)
int growRegisterArray(int)
Grows the register array by count elements, and returns the offset of the newly added elements (note ...
virtual void put(JSC::ExecState *, const JSC::Identifier &propertyName, JSC::JSValue value, JSC::PutPropertySlot &)
virtual bool deleteProperty(JSC::ExecState *, const JSC::Identifier &propertyName)
Represents a static scope object.
static const JSC::ClassInfo info