24 #ifndef QSCRIPTSTATICSCOPEOBJECT_P_H 25 #define QSCRIPTSTATICSCOPEOBJECT_P_H 38 #include <QtCore/qobjectdefs.h> 40 #include "JSVariableObject.h" 64 virtual bool getOwnPropertySlot(JSC::ExecState*,
const JSC::Identifier& propertyName, JSC::PropertySlot&);
65 virtual bool getOwnPropertyDescriptor(JSC::ExecState*,
const JSC::Identifier& propertyName, JSC::PropertyDescriptor&);
68 virtual void put(JSC::ExecState*,
const JSC::Identifier& propertyName, JSC::JSValue value, JSC::PutPropertySlot&);
70 virtual bool deleteProperty(JSC::ExecState*,
const JSC::Identifier& propertyName);
75 static const JSC::ClassInfo
info;
82 static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | JSC::NeedsThisConversion | JSC::OverridesMarkChildren | JSC::OverridesGetPropertyNames | JSC::JSVariableObject::StructureFlags;
84 struct Data :
public JSVariableObjectData {
86 : JSVariableObjectData(&symbolTable, 0),
87 canGrow(canGrow_), registerArraySize(0)
JSC::SymbolTable symbolTable
JSC::Identifier identifier
virtual void markChildren(JSC::MarkStack &)
#define QT_END_NAMESPACE
This macro expands to.
static Expression::Ptr create(Expression *const expr, const YYLTYPE &sourceLocator, const ParserContext *const parseInfo)
long ASN1_INTEGER_get ASN1_INTEGER * a
virtual ~QScriptStaticScopeObject()
QScriptStaticScopeObject(WTF::NonNullPassRefPtr< JSC::Structure > structure, int propertyCount, const PropertyInfo *)
Creates a static scope object with a fixed set of undeletable properties.
static WTF::PassRefPtr< JSC::Structure > createStructure(JSC::JSValue proto)
virtual bool isDynamicScope() const
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.
static const unsigned StructureFlags
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)
virtual const JSC::ClassInfo * classInfo() const
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.
PropertyInfo(const JSC::Identifier &i, JSC::JSValue v, unsigned a)
static const JSC::ClassInfo info