#include <qscriptcontext.h>
Definition at line 39 of file qscriptcontext.h.
Public Types | |
| enum | ExecutionState { NormalState, ExceptionState } |
| enum | Error { UnknownError, ReferenceError, SyntaxError, TypeError, RangeError, URIError } |
Public Member Functions | |
| ~QScriptContext () | |
| QScriptContext * | parentContext () const |
| QScriptEngine * | engine () const |
| ExecutionState | state () const |
| QScriptValue | callee () const |
| int | argumentCount () const |
| QScriptValue | argument (int index) const |
| QScriptValue | argumentsObject () const |
| QScriptValueList | scopeChain () const |
| void | pushScope (const QScriptValue &object) |
| QScriptValue | popScope () |
| QScriptValue | returnValue () const |
| void | setReturnValue (const QScriptValue &result) |
| QScriptValue | activationObject () const |
| void | setActivationObject (const QScriptValue &activation) |
| QScriptValue | thisObject () const |
| void | setThisObject (const QScriptValue &thisObject) |
| bool | isCalledAsConstructor () const |
| QScriptValue | throwValue (const QScriptValue &value) |
| QScriptValue | throwError (Error error, const QString &text) |
| QScriptValue | throwError (const QString &text) |
| QStringList | backtrace () const |
| QString | toString () const |
| enum ExecutionState |
| Enumerator | |
|---|---|
| NormalState | |
| ExceptionState | |
Definition at line 42 of file qscriptcontext.h.
| enum Error |
| Enumerator | |
|---|---|
| UnknownError | |
| ReferenceError | |
| SyntaxError | |
| TypeError | |
| RangeError | |
| URIError | |
Definition at line 47 of file qscriptcontext.h.
| ~QScriptContext | ( | ) |
| QScriptContext* parentContext | ( | ) | const |
| QScriptEngine* engine | ( | ) | const |
| ExecutionState state | ( | ) | const |
| QScriptValue callee | ( | ) | const |
| int argumentCount | ( | ) | const |
| QScriptValue argument | ( | int | index | ) | const |
| QScriptValue argumentsObject | ( | ) | const |
| QScriptValueList scopeChain | ( | ) | const |
| void pushScope | ( | const QScriptValue & | object | ) |
| QScriptValue popScope | ( | ) |
| QScriptValue returnValue | ( | ) | const |
| void setReturnValue | ( | const QScriptValue & | result | ) |
| QScriptValue activationObject | ( | ) | const |
| void setActivationObject | ( | const QScriptValue & | activation | ) |
| QScriptValue thisObject | ( | ) | const |
| void setThisObject | ( | const QScriptValue & | thisObject | ) |
| bool isCalledAsConstructor | ( | ) | const |
| QScriptValue throwValue | ( | const QScriptValue & | value | ) |
| QScriptValue throwError | ( | Error | error, |
| const QString & | text | ||
| ) |
| QScriptValue throwError | ( | const QString & | text | ) |
| QStringList backtrace | ( | ) | const |
| QString toString | ( | ) | const |