24 #ifndef QSCRIPTOBJECT_P_H 25 #define QSCRIPTOBJECT_P_H 38 #include <QtCore/qobjectdefs.h> 56 Data() : delegate(0), isMarking(false) {}
64 const JSC::Identifier& propertyName,
67 virtual void put(JSC::ExecState* exec,
const JSC::Identifier& propertyName,
68 JSC::JSValue, JSC::PutPropertySlot&);
70 const JSC::Identifier& propertyName);
72 JSC::EnumerationMode mode = JSC::ExcludeDontEnumProperties);
76 virtual bool hasInstance(JSC::ExecState*, JSC::JSValue value, JSC::JSValue proto);
80 static const JSC::ClassInfo
info;
87 inline JSC::JSValue
data()
const;
88 inline void setData(JSC::JSValue data);
94 static const unsigned StructureFlags = JSC::ImplementsHasInstance | JSC::OverridesHasInstance | JSC::OverridesGetOwnPropertySlot | JSC::OverridesMarkChildren | JSC::OverridesGetPropertyNames | JSObject::StructureFlags;
103 JSC::Structure* prototypeFunctionStructure);
113 DeclarativeClassObject
122 const JSC::Identifier& propertyName,
125 const JSC::Identifier& propertyName,
126 JSC::PropertyDescriptor&);
127 virtual void put(
QScriptObject*, JSC::ExecState* exec,
const JSC::Identifier& propertyName,
128 JSC::JSValue, JSC::PutPropertySlot&);
130 const JSC::Identifier& propertyName);
132 JSC::EnumerationMode mode = JSC::ExcludeDontEnumProperties);
137 JSC::JSValue value, JSC::JSValue proto);
147 return JSC::JSValue();
virtual bool getOwnPropertySlot(JSC::ExecState *, const JSC::Identifier &propertyName, JSC::PropertySlot &)
#define QT_END_NAMESPACE
This macro expands to.
static Expression::Ptr create(Expression *const expr, const YYLTYPE &sourceLocator, const ParserContext *const parseInfo)
QScriptObjectDelegate * delegate() const
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
static const JSC::ClassInfo info
virtual bool deleteProperty(JSC::ExecState *, const JSC::Identifier &propertyName)
virtual bool getOwnPropertyDescriptor(JSC::ExecState *, const JSC::Identifier &, JSC::PropertyDescriptor &)
virtual bool hasInstance(JSC::ExecState *, JSC::JSValue value, JSC::JSValue proto)
virtual void getOwnPropertyNames(JSC::ExecState *, JSC::PropertyNameArray &, JSC::EnumerationMode mode=JSC::ExcludeDontEnumProperties)
virtual bool compareToObject(JSC::ExecState *, JSC::JSObject *)
#define QT_BEGIN_NAMESPACE
This macro expands to.
JSC::JSValue data() const
virtual void put(JSC::ExecState *exec, const JSC::Identifier &propertyName, JSC::JSValue, JSC::PutPropertySlot &)
void setData(JSC::JSValue data)
static WTF::PassRefPtr< JSC::Structure > createStructure(JSC::JSValue prototype)
virtual JSC::CallType getCallData(JSC::CallData &)
static QByteArray prototype(const QList< QByteArray > ¶meterTypes, const QList< QByteArray > ¶meterNames, bool *ok)
virtual const JSC::ClassInfo * classInfo() const
QScriptObjectDelegate * delegate
QScriptObject(WTF::PassRefPtr< JSC::Structure > sid)
void setDelegate(QScriptObjectDelegate *delegate)
static const unsigned StructureFlags
virtual JSC::ConstructType getConstructData(JSC::ConstructData &)
virtual void markChildren(JSC::MarkStack &markStack)