KJS::ExecState Class Reference
Represents the current state of script execution. More...
#include <interpreter.h>
Public Member Functions | |
Interpreter * | interpreter () 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 )() = defaultConfirm |
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 439 of file interpreter.h.
Member Function Documentation
|
|
Returns the execution context associated with this execution state.
Definition at line 460 of file interpreter.h. Referenced by KJS::GlobalFuncImp::call(), KJS::FunctionImp::call(), KJS::FuncExprNode::evaluate(), KJS::VarDeclNode::evaluate(), KJS::ThisNode::evaluate(), KJS::ResolveNode::evaluateReference(), KJS::TryNode::execute(), KJS::CatchNode::execute(), KJS::LabelNode::execute(), KJS::SwitchNode::execute(), KJS::WithNode::execute(), KJS::BreakNode::execute(), KJS::ContinueNode::execute(), KJS::ForInNode::execute(), KJS::ForNode::execute(), KJS::WhileNode::execute(), KJS::DoWhileNode::execute(), KJS::FunctionImp::get(), KJS::StatementNode::hitStatement(), KJS::FuncDeclNode::processFuncDecl(), KJS::VarDeclNode::processVarDecls(), and KJS::Reference::putValue(). |
The documentation for this class was generated from the following files: