Qt 4.8
|
#include <qscriptvalue_p.h>
Public Types | |
enum | Type { JavaScriptCore, Number, String } |
Public Functions | |
void | detachFromEngine () |
void | initFrom (JSC::JSValue value) |
void | initFrom (qsreal value) |
void | initFrom (const QString &value) |
bool | isJSC () const |
bool | isObject () const |
qint64 | objectId () |
void | operator delete (void *) |
void * | operator new (size_t, QScriptEnginePrivate *) |
JSC::JSValue | property (const JSC::Identifier &id, const QScriptValue::ResolveFlags &mode=QScriptValue::ResolvePrototype) const |
JSC::JSValue | property (quint32 index, const QScriptValue::ResolveFlags &mode=QScriptValue::ResolvePrototype) const |
JSC::JSValue | property (const JSC::UString &, const QScriptValue::ResolveFlags &mode=QScriptValue::ResolvePrototype) const |
QScriptValue::PropertyFlags | propertyFlags (const JSC::Identifier &id, const QScriptValue::ResolveFlags &mode=QScriptValue::ResolvePrototype) const |
QScriptValuePrivate (QScriptEnginePrivate *) | |
void | setProperty (const JSC::UString &name, const JSC::JSValue &value, const QScriptValue::PropertyFlags &flags=QScriptValue::KeepExistingFlags) |
void | setProperty (const JSC::Identifier &id, const JSC::JSValue &value, const QScriptValue::PropertyFlags &flags=QScriptValue::KeepExistingFlags) |
void | setProperty (quint32 index, const JSC::JSValue &value, const QScriptValue::PropertyFlags &flags=QScriptValue::KeepExistingFlags) |
~QScriptValuePrivate () | |
Static Public Functions | |
static QScriptValuePrivate * | get (const QScriptValue &q) |
static QScriptEnginePrivate * | getEngine (const QScriptValue &q) |
static QScriptValue | toPublic (QScriptValuePrivate *d) |
Public Variables | |
QScriptEnginePrivate * | engine |
JSC::JSValue | jscValue |
QScriptValuePrivate * | next |
qsreal | numberValue |
QScriptValuePrivate * | prev |
QBasicAtomicInt | ref |
QString | stringValue |
Type | type |
Definition at line 49 of file qscriptvalue_p.h.
Enumerator | |
---|---|
JavaScriptCore | |
Number | |
String |
Definition at line 56 of file qscriptvalue_p.h.
|
inline |
Definition at line 125 of file qscriptvalue_p.h.
|
inline |
Definition at line 681 of file qscriptengine_p.h.
void QScriptValuePrivate::detachFromEngine | ( | ) |
Definition at line 183 of file qscriptvalue.cpp.
Referenced by QScriptEnginePrivate::detachAllRegisteredScriptValues(), and getEngine().
|
inlinestatic |
Definition at line 72 of file qscriptvalue_p.h.
Referenced by QScriptEngine::convertV2(), QScriptDeclarativeClass::function(), QScriptDeclarativeClass::functionValue(), QScriptEngine::newQObject(), QScriptDeclarativeClass::object(), QScriptValueIteratorPrivate::object(), QScriptDeclarativeClass::property(), QScriptDeclarativeClass::propertyValue(), QScript::FunctionWrapper::proxyConstruct(), QScriptDeclarativeClass::scriptClass(), QScriptEnginePrivate::scriptValueToJSCValue(), and QScript::ToPrimitive().
|
inlinestatic |
Definition at line 82 of file qscriptvalue_p.h.
Referenced by QScriptValue::call(), QScriptValue::construct(), QScriptValue::equals(), QScriptValue::instanceOf(), QScriptValue::lessThan(), QScriptValue::setProperty(), QScriptValue::setPrototype(), QScriptValue::setScope(), and QScriptValue::strictlyEquals().
|
inline |
Definition at line 687 of file qscriptengine_p.h.
Referenced by QScriptValue::QScriptValue(), QScriptEnginePrivate::scriptValueFromJSCValue(), and QScriptEnginePrivate::scriptValueToJSCValue().
|
inline |
Definition at line 699 of file qscriptengine_p.h.
|
inline |
Definition at line 707 of file qscriptengine_p.h.
|
inline |
Definition at line 131 of file qscriptvalue_p.h.
Referenced by detachFromEngine(), QScriptValue::equals(), isObject(), QScriptEnginePrivate::mark(), QScriptDeclarativeClass::object(), and QScriptDeclarativeClass::scriptClass().
|
inline |
Definition at line 136 of file qscriptvalue_p.h.
Referenced by QScriptDeclarativeClass::function(), QScriptDeclarativeClass::functionValue(), QScriptDeclarativeClass::property(), and QScriptDeclarativeClass::propertyValue().
|
inline |
|
inline |
Definition at line 801 of file qscriptengine_p.h.
|
inline |
Definition at line 794 of file qscriptengine_p.h.
|
inline |
Definition at line 753 of file qscriptengine_p.h.
Referenced by getEngine().
|
inline |
Definition at line 758 of file qscriptengine_p.h.
|
inline |
Definition at line 763 of file qscriptengine_p.h.
|
inline |
Definition at line 769 of file qscriptengine_p.h.
Referenced by getEngine().
|
inline |
Definition at line 787 of file qscriptengine_p.h.
Referenced by getEngine().
|
inline |
Definition at line 775 of file qscriptengine_p.h.
|
inline |
Definition at line 781 of file qscriptengine_p.h.
|
inlinestatic |
Definition at line 77 of file qscriptvalue_p.h.
Referenced by QScriptEnginePrivate::scriptValueFromJSCValue().
QScriptEnginePrivate* QScriptValuePrivate::engine |
Definition at line 112 of file qscriptvalue_p.h.
Referenced by QScriptEngine::convertV2(), detachFromEngine(), QScriptValue::equals(), QScriptDeclarativeClass::function(), QScriptDeclarativeClass::functionValue(), getEngine(), objectId(), operator delete(), QScriptDeclarativeClass::property(), QScriptDeclarativeClass::propertyValue(), QScriptValue::QScriptValue(), QScriptEnginePrivate::scriptValueToJSCValue(), QScriptValue::strictlyEquals(), and QScript::ToPrimitive().
JSC::JSValue QScriptValuePrivate::jscValue |
Definition at line 114 of file qscriptvalue_p.h.
Referenced by QScriptEngine::convertV2(), detachFromEngine(), QScriptValue::equals(), QScriptDeclarativeClass::function(), QScriptDeclarativeClass::functionValue(), isObject(), QScriptEnginePrivate::mark(), QScriptDeclarativeClass::object(), objectId(), QScriptDeclarativeClass::property(), QScriptDeclarativeClass::propertyValue(), QScript::FunctionWrapper::proxyConstruct(), QScriptDeclarativeClass::scriptClass(), QScriptEnginePrivate::scriptValueToJSCValue(), QScriptValue::strictlyEquals(), and QScript::ToPrimitive().
QScriptValuePrivate* QScriptValuePrivate::next |
Definition at line 120 of file qscriptvalue_p.h.
Referenced by QScriptEnginePrivate::allocateScriptValuePrivate(), QScriptEnginePrivate::detachAllRegisteredScriptValues(), QScriptEnginePrivate::freeScriptValuePrivate(), QScriptEnginePrivate::mark(), QScriptEnginePrivate::registerScriptValue(), QScriptEnginePrivate::unregisterScriptValue(), and QScriptEnginePrivate::~QScriptEnginePrivate().
qsreal QScriptValuePrivate::numberValue |
Definition at line 115 of file qscriptvalue_p.h.
Referenced by QScriptEngine::convertV2(), QScriptEnginePrivate::scriptValueToJSCValue(), and QScriptValue::strictlyEquals().
QScriptValuePrivate* QScriptValuePrivate::prev |
Definition at line 119 of file qscriptvalue_p.h.
Referenced by QScriptEnginePrivate::detachAllRegisteredScriptValues(), QScriptEnginePrivate::registerScriptValue(), and QScriptEnginePrivate::unregisterScriptValue().
QBasicAtomicInt QScriptValuePrivate::ref |
Definition at line 122 of file qscriptvalue_p.h.
Referenced by QScriptValuePrivate().
QString QScriptValuePrivate::stringValue |
Definition at line 116 of file qscriptvalue_p.h.
Referenced by QScriptEngine::convertV2(), QScriptEnginePrivate::scriptValueToJSCValue(), and QScriptValue::strictlyEquals().
Type QScriptValuePrivate::type |
Definition at line 113 of file qscriptvalue_p.h.
Referenced by QScriptEngine::convertV2(), isJSC(), objectId(), QScriptEnginePrivate::scriptValueToJSCValue(), and QScriptValue::strictlyEquals().