Public Member Functions |
Static Public Member Functions |
Static Public Attributes |
Friends |
List of all members
KJS::ExecState Class Reference
#include <interpreter.h>
Public Member Functions | |
Interpreter * | dynamicInterpreter () const |
Interpreter * | interpreter () const |
Interpreter * | lexicalInterpreter () const |
Context | context () const |
void | setException (const Value &e) |
void | clearException () |
Value | exception () const |
bool | hadException () |
Static Public Member Functions | |
static void | requestTerminate () |
Static Public Attributes | |
static bool(* | confirmTerminate )() |
Friends | |
class | InterpreterImp |
class | FunctionImp |
class | GlobalFuncImp |
class | TryNode |
class | VarDeclNode |
class | FuncDeclNode |
Detailed Description
Represents the current state of script execution.
This object allows you obtain a handle the interpreter that is currently executing the script, and also the current execution state context.
Definition at line 438 of file interpreter.h.
Member Function Documentation
◆ context()
|
inline |
Returns the execution context associated with this execution state.
- Returns
- The current execution state context
Definition at line 470 of file interpreter.h.
◆ dynamicInterpreter()
|
inline |
Returns the interpreter associated with this execution state.
- Returns
- The interpreter executing the script
Definition at line 452 of file interpreter.h.
◆ lexicalInterpreter()
Interpreter * ExecState::lexicalInterpreter | ( | ) | const |
Returns the interpreter associated with the current scope's global object.
- Returns
- The interpreter currently in scope
Definition at line 394 of file interpreter.cpp.
The documentation for this class was generated from the following files: