#include <qscriptobject_p.h>
|
virtual const JSC::ClassInfo * | classInfo () const |
|
virtual bool | compareToObject (JSC::ExecState *, JSC::JSObject *) |
|
JSC::JSValue | data () const |
|
QScriptObjectDelegate * | delegate () const |
|
virtual bool | deleteProperty (JSC::ExecState *, const JSC::Identifier &propertyName) |
|
virtual JSC::CallType | getCallData (JSC::CallData &) |
|
virtual JSC::ConstructType | getConstructData (JSC::ConstructData &) |
|
virtual bool | getOwnPropertyDescriptor (JSC::ExecState *, const JSC::Identifier &, JSC::PropertyDescriptor &) |
|
virtual void | getOwnPropertyNames (JSC::ExecState *, JSC::PropertyNameArray &, JSC::EnumerationMode mode=JSC::ExcludeDontEnumProperties) |
|
virtual bool | getOwnPropertySlot (JSC::ExecState *, const JSC::Identifier &propertyName, JSC::PropertySlot &) |
|
virtual bool | hasInstance (JSC::ExecState *, JSC::JSValue value, JSC::JSValue proto) |
|
virtual void | markChildren (JSC::MarkStack &markStack) |
|
virtual void | put (JSC::ExecState *exec, const JSC::Identifier &propertyName, JSC::JSValue, JSC::PutPropertySlot &) |
|
| QScriptObject (WTF::PassRefPtr< JSC::Structure > sid) |
|
void | setData (JSC::JSValue data) |
|
void | setDelegate (QScriptObjectDelegate *delegate) |
|
virtual | ~QScriptObject () |
|
|
static const JSC::ClassInfo | info = { "Object", 0, 0, 0 } |
|
|
static const unsigned | StructureFlags = JSC::ImplementsHasInstance | JSC::OverridesHasInstance | JSC::OverridesGetOwnPropertySlot | JSC::OverridesMarkChildren | JSC::OverridesGetPropertyNames | JSObject::StructureFlags |
|
Definition at line 46 of file qscriptobject_p.h.
◆ QScriptObject()
QScriptObject::QScriptObject |
( |
WTF::PassRefPtr< JSC::Structure > |
sid | ) |
|
|
explicit |
◆ ~QScriptObject()
QScriptObject::~QScriptObject |
( |
| ) |
|
|
virtual |
◆ classInfo()
virtual const JSC::ClassInfo* QScriptObject::classInfo |
( |
| ) |
const |
|
inlinevirtual |
◆ compareToObject()
bool QScriptObject::compareToObject |
( |
JSC::ExecState * |
exec, |
|
|
JSC::JSObject * |
other |
|
) |
| |
|
virtual |
Definition at line 101 of file qscriptobject.cpp.
Referenced by QScriptObject::Data::Data().
104 return JSC::JSObject::compareToObject(exec, other);
virtual bool compareToObject(QScriptObject *, JSC::ExecState *, JSC::JSObject *)
QScriptObjectDelegate * delegate
◆ createStructure()
static WTF::PassRefPtr<JSC::Structure> QScriptObject::createStructure |
( |
JSC::JSValue |
prototype | ) |
|
|
inlinestatic |
Definition at line 82 of file qscriptobject_p.h.
Referenced by QScriptEnginePrivate::QScriptEnginePrivate().
static Expression::Ptr create(Expression *const expr, const YYLTYPE &sourceLocator, const ParserContext *const parseInfo)
static QByteArray prototype(const QList< QByteArray > ¶meterTypes, const QList< QByteArray > ¶meterNames, bool *ok)
static const unsigned StructureFlags
◆ data()
JSC::JSValue QScriptObject::data |
( |
| ) |
const |
|
inline |
◆ delegate()
Definition at line 158 of file qscriptobject_p.h.
Referenced by QScript::ClassObjectDelegate::call(), QScript::DeclarativeObjectDelegate::call(), QScript::DeclarativeObjectDelegate::compareToObject(), QScriptEnginePrivate::declarativeClass(), QScriptEnginePrivate::declarativeObject(), QScriptEngine::newQObject(), QScript::QtFunction::qobject(), QScript::qobjectProtoFuncFindChild(), QScript::qobjectProtoFuncFindChildren(), QScript::qobjectProtoFuncToString(), QScriptValue::scriptClass(), and QScriptValue::setScriptClass().
QScriptObjectDelegate * delegate
◆ deleteProperty()
bool QScriptObject::deleteProperty |
( |
JSC::ExecState * |
exec, |
|
|
const JSC::Identifier & |
propertyName |
|
) |
| |
|
virtual |
Definition at line 83 of file qscriptobject.cpp.
Referenced by QScriptObject::Data::Data().
87 return JSC::JSObject::deleteProperty(exec, propertyName);
virtual bool deleteProperty(QScriptObject *, JSC::ExecState *, const JSC::Identifier &propertyName)
QScriptObjectDelegate * delegate
◆ getCallData()
JSC::CallType QScriptObject::getCallData |
( |
JSC::CallData & |
data | ) |
|
|
virtual |
Definition at line 125 of file qscriptobject.cpp.
Referenced by QScriptObject::Data::Data().
128 return JSC::JSObject::getCallData(
data);
JSC::JSValue data() const
QScriptObjectDelegate * delegate
virtual JSC::CallType getCallData(QScriptObject *, JSC::CallData &)
◆ getConstructData()
JSC::ConstructType QScriptObject::getConstructData |
( |
JSC::ConstructData & |
data | ) |
|
|
virtual |
Definition at line 132 of file qscriptobject.cpp.
Referenced by QScriptObject::Data::Data().
135 return JSC::JSObject::getConstructData(
data);
virtual JSC::ConstructType getConstructData(QScriptObject *, JSC::ConstructData &)
JSC::JSValue data() const
QScriptObjectDelegate * delegate
◆ getOwnPropertyDescriptor()
bool QScriptObject::getOwnPropertyDescriptor |
( |
JSC::ExecState * |
exec, |
|
|
const JSC::Identifier & |
propertyName, |
|
|
JSC::PropertyDescriptor & |
descriptor |
|
) |
| |
|
virtual |
Definition at line 64 of file qscriptobject.cpp.
Referenced by QScriptObject::Data::Data().
69 return JSC::JSObject::getOwnPropertyDescriptor(exec, propertyName, descriptor);
virtual bool getOwnPropertyDescriptor(QScriptObject *, JSC::ExecState *, const JSC::Identifier &propertyName, JSC::PropertyDescriptor &)
QScriptObjectDelegate * delegate
◆ getOwnPropertyNames()
void QScriptObject::getOwnPropertyNames |
( |
JSC::ExecState * |
exec, |
|
|
JSC::PropertyNameArray & |
propertyNames, |
|
|
JSC::EnumerationMode |
mode = JSC::ExcludeDontEnumProperties |
|
) |
| |
|
virtual |
Definition at line 91 of file qscriptobject.cpp.
Referenced by QScriptObject::Data::Data().
95 JSC::JSObject::getOwnPropertyNames(exec, propertyNames, mode);
virtual void getOwnPropertyNames(QScriptObject *, JSC::ExecState *, JSC::PropertyNameArray &, JSC::EnumerationMode mode=JSC::ExcludeDontEnumProperties)
QScriptObjectDelegate * delegate
◆ getOwnPropertySlot()
bool QScriptObject::getOwnPropertySlot |
( |
JSC::ExecState * |
exec, |
|
|
const JSC::Identifier & |
propertyName, |
|
|
JSC::PropertySlot & |
slot |
|
) |
| |
|
virtual |
Definition at line 55 of file qscriptobject.cpp.
Referenced by QScriptObject::Data::Data().
60 return JSC::JSObject::getOwnPropertySlot(exec, propertyName, slot);
virtual bool getOwnPropertySlot(QScriptObject *, JSC::ExecState *, const JSC::Identifier &propertyName, JSC::PropertySlot &)
QScriptObjectDelegate * delegate
◆ hasInstance()
bool QScriptObject::hasInstance |
( |
JSC::ExecState * |
exec, |
|
|
JSC::JSValue |
value, |
|
|
JSC::JSValue |
proto |
|
) |
| |
|
virtual |
Definition at line 139 of file qscriptobject.cpp.
Referenced by QScriptObject::Data::Data().
142 return JSC::JSObject::hasInstance(exec, value, proto);
virtual bool hasInstance(QScriptObject *, JSC::ExecState *, JSC::JSValue value, JSC::JSValue proto)
QScriptObjectDelegate * delegate
◆ markChildren()
void QScriptObject::markChildren |
( |
JSC::MarkStack & |
markStack | ) |
|
|
virtual |
Definition at line 109 of file qscriptobject.cpp.
Referenced by QScriptObject::Data::Data().
117 markStack.append(
d->
data);
119 JSC::JSObject::markChildren(markStack);
virtual void markChildren(QScriptObject *, JSC::MarkStack &markStack)
QScriptObjectDelegate * delegate
◆ put()
void QScriptObject::put |
( |
JSC::ExecState * |
exec, |
|
|
const JSC::Identifier & |
propertyName, |
|
|
JSC::JSValue |
value, |
|
|
JSC::PutPropertySlot & |
slot |
|
) |
| |
|
virtual |
Definition at line 73 of file qscriptobject.cpp.
Referenced by QScriptObject::Data::Data().
77 JSC::JSObject::put(exec, propertyName, value, slot);
virtual void put(QScriptObject *, JSC::ExecState *exec, const JSC::Identifier &propertyName, JSC::JSValue, JSC::PutPropertySlot &)
QScriptObjectDelegate * delegate
◆ setData()
void QScriptObject::setData |
( |
JSC::JSValue |
data | ) |
|
|
inline |
◆ setDelegate()
Definition at line 96 of file qscriptobject_p.h.
Referenced by compareToObject(), data(), delegate(), deleteProperty(), getCallData(), getConstructData(), getOwnPropertyDescriptor(), getOwnPropertyNames(), getOwnPropertySlot(), hasInstance(), markChildren(), put(), setData(), setDelegate(), and ~QScriptObject().
◆ info
const JSC::ClassInfo QScriptObject::info = { "Object", 0, 0, 0 } |
|
static |
Definition at line 80 of file qscriptobject_p.h.
Referenced by QScript::ClassObjectDelegate::call(), QScript::DeclarativeObjectDelegate::call(), classInfo(), QScript::QObjectDelegate::compareToObject(), QScript::DeclarativeObjectDelegate::compareToObject(), QScript::ClassObjectDelegate::construct(), QScriptValue::data(), QScriptEnginePrivate::declarativeClass(), QScriptEnginePrivate::declarativeObject(), QScript::QObjectConnectionManager::execute(), QScript::QtFunction::execute(), QScript::QMetaObjectWrapperObject::execute(), QScriptEnginePrivate::isQObject(), QScriptEnginePrivate::isVariant(), QScript::QObjectConnection::mark(), QScriptEngine::newQObject(), QScriptEnginePrivate::newVariant(), QScript::qobjectProtoFuncFindChild(), QScript::qobjectProtoFuncFindChildren(), QScript::qobjectProtoFuncToString(), QScriptValue::scriptClass(), QScriptValue::setData(), QScriptValue::setScriptClass(), QScriptEnginePrivate::setVariantValue(), QScriptEnginePrivate::toQObject(), QScript::variantProtoFuncToString(), QScript::variantProtoFuncValueOf(), QScriptEnginePrivate::variantValue(), and QScript::QtFunction::wrapperObject().
◆ StructureFlags
const unsigned QScriptObject::StructureFlags = JSC::ImplementsHasInstance | JSC::OverridesHasInstance | JSC::OverridesGetOwnPropertySlot | JSC::OverridesMarkChildren | JSC::OverridesGetPropertyNames | JSObject::StructureFlags |
|
staticprotected |
The documentation for this class was generated from the following files: