#include <qscriptglobalobject_p.h>
|
virtual JSC::UString | className () const |
|
virtual void | defineGetter (JSC::ExecState *, const JSC::Identifier &propertyName, JSC::JSObject *getterFunction, unsigned attributes=0) |
|
virtual void | defineSetter (JSC::ExecState *, const JSC::Identifier &propertyName, JSC::JSObject *setterFunction, unsigned attributes=0) |
|
virtual bool | deleteProperty (JSC::ExecState *, const JSC::Identifier &propertyName) |
|
virtual bool | getOwnPropertyDescriptor (JSC::ExecState *, const JSC::Identifier &propertyName, 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 &) |
|
| GlobalObject () |
|
virtual JSC::JSValue | lookupGetter (JSC::ExecState *, const JSC::Identifier &propertyName) |
|
virtual JSC::JSValue | lookupSetter (JSC::ExecState *, const JSC::Identifier &propertyName) |
|
virtual void | markChildren (JSC::MarkStack &) |
|
virtual void | put (JSC::ExecState *exec, const JSC::Identifier &propertyName, JSC::JSValue, JSC::PutPropertySlot &) |
|
virtual void | putWithAttributes (JSC::ExecState *exec, const JSC::Identifier &propertyName, JSC::JSValue value, unsigned attributes) |
|
virtual | ~GlobalObject () |
|
Definition at line 47 of file qscriptglobalobject_p.h.
◆ GlobalObject()
QScript::GlobalObject::GlobalObject |
( |
| ) |
|
◆ ~GlobalObject()
QScript::GlobalObject::~GlobalObject |
( |
| ) |
|
|
virtual |
◆ className()
virtual JSC::UString QScript::GlobalObject::className |
( |
| ) |
const |
|
inlinevirtual |
◆ defineGetter()
void QScript::GlobalObject::defineGetter |
( |
JSC::ExecState * |
exec, |
|
|
const JSC::Identifier & |
propertyName, |
|
|
JSC::JSObject * |
getterFunction, |
|
|
unsigned |
attributes = 0 |
|
) |
| |
|
virtual |
Definition at line 126 of file qscriptglobalobject.cpp.
Referenced by className().
131 JSC::JSGlobalObject::defineGetter(exec, propertyName, getterFunction, attributes);
JSC::JSObject * customGlobalObject
◆ defineSetter()
void QScript::GlobalObject::defineSetter |
( |
JSC::ExecState * |
exec, |
|
|
const JSC::Identifier & |
propertyName, |
|
|
JSC::JSObject * |
setterFunction, |
|
|
unsigned |
attributes = 0 |
|
) |
| |
|
virtual |
Definition at line 134 of file qscriptglobalobject.cpp.
Referenced by className().
139 JSC::JSGlobalObject::defineSetter(exec, propertyName, setterFunction, attributes);
JSC::JSObject * customGlobalObject
◆ deleteProperty()
bool QScript::GlobalObject::deleteProperty |
( |
JSC::ExecState * |
exec, |
|
|
const JSC::Identifier & |
propertyName |
|
) |
| |
|
virtual |
◆ getOwnPropertyDescriptor()
bool QScript::GlobalObject::getOwnPropertyDescriptor |
( |
JSC::ExecState * |
exec, |
|
|
const JSC::Identifier & |
propertyName, |
|
|
JSC::PropertyDescriptor & |
descriptor |
|
) |
| |
|
virtual |
Definition at line 75 of file qscriptglobalobject.cpp.
Referenced by className().
81 if (propertyName == exec->propertyNames().arguments && engine->
currentFrame->argumentCount() > 0) {
84 descriptor.setValue(args);
89 return JSC::JSGlobalObject::getOwnPropertyDescriptor(exec, propertyName, descriptor);
QScriptEnginePrivate * scriptEngineFromExec(const JSC::ExecState *exec)
QScriptValue argumentsObject() const
Returns the arguments object of this QScriptContext.
JSC::ExecState * currentFrame
JSC::JSValue scriptValueToJSCValue(const QScriptValue &value)
static QScriptContext * contextForFrame(JSC::ExecState *frame)
JSC::JSObject * customGlobalObject
◆ getOwnPropertyNames()
void QScript::GlobalObject::getOwnPropertyNames |
( |
JSC::ExecState * |
exec, |
|
|
JSC::PropertyNameArray & |
propertyNames, |
|
|
JSC::EnumerationMode |
mode = JSC::ExcludeDontEnumProperties |
|
) |
| |
|
virtual |
Definition at line 117 of file qscriptglobalobject.cpp.
Referenced by className().
123 JSC::JSGlobalObject::getOwnPropertyNames(exec, propertyNames, mode);
JSC::JSObject * customGlobalObject
◆ getOwnPropertySlot()
bool QScript::GlobalObject::getOwnPropertySlot |
( |
JSC::ExecState * |
exec, |
|
|
const JSC::Identifier & |
propertyName, |
|
|
JSC::PropertySlot & |
slot |
|
) |
| |
|
virtual |
Definition at line 60 of file qscriptglobalobject.cpp.
Referenced by className().
65 if (propertyName == exec->propertyNames().arguments && engine->
currentFrame->argumentCount() > 0) {
72 return JSC::JSGlobalObject::getOwnPropertySlot(exec, propertyName, slot);
QScriptEnginePrivate * scriptEngineFromExec(const JSC::ExecState *exec)
QScriptValue argumentsObject() const
Returns the arguments object of this QScriptContext.
JSC::ExecState * currentFrame
JSC::JSValue scriptValueToJSCValue(const QScriptValue &value)
static QScriptContext * contextForFrame(JSC::ExecState *frame)
JSC::JSObject * customGlobalObject
◆ lookupGetter()
JSC::JSValue QScript::GlobalObject::lookupGetter |
( |
JSC::ExecState * |
exec, |
|
|
const JSC::Identifier & |
propertyName |
|
) |
| |
|
virtual |
◆ lookupSetter()
JSC::JSValue QScript::GlobalObject::lookupSetter |
( |
JSC::ExecState * |
exec, |
|
|
const JSC::Identifier & |
propertyName |
|
) |
| |
|
virtual |
◆ markChildren()
void QScript::GlobalObject::markChildren |
( |
JSC::MarkStack & |
markStack | ) |
|
|
virtual |
◆ put()
void QScript::GlobalObject::put |
( |
JSC::ExecState * |
exec, |
|
|
const JSC::Identifier & |
propertyName, |
|
|
JSC::JSValue |
value, |
|
|
JSC::PutPropertySlot & |
slot |
|
) |
| |
|
virtual |
◆ putWithAttributes()
void QScript::GlobalObject::putWithAttributes |
( |
JSC::ExecState * |
exec, |
|
|
const JSC::Identifier & |
propertyName, |
|
|
JSC::JSValue |
value, |
|
|
unsigned |
attributes |
|
) |
| |
|
virtual |
Definition at line 101 of file qscriptglobalobject.cpp.
Referenced by className().
107 JSC::JSGlobalObject::putWithAttributes(exec, propertyName, value, attributes);
JSC::JSObject * customGlobalObject
◆ customGlobalObject
JSC::JSObject* QScript::GlobalObject::customGlobalObject |
Definition at line 74 of file qscriptglobalobject_p.h.
Referenced by QScriptEnginePrivate::customGlobalObject(), defineGetter(), defineSetter(), deleteProperty(), getOwnPropertyDescriptor(), getOwnPropertyNames(), getOwnPropertySlot(), QScriptEnginePrivate::globalObject(), lookupGetter(), lookupSetter(), markChildren(), put(), putWithAttributes(), and QScriptEnginePrivate::setGlobalObject().
The documentation for this class was generated from the following files: