kjs Library API Documentation

KJS::ExecState Class Reference

Represents the current state of script execution. More...

#include <interpreter.h>

List of all members.

Public Methods

Interpreterinterpreter () const
Context context () const
void setException (const Value &e)
void clearException ()
Value exception () const
bool hadException ()

Static Public Methods

void requestTerminate ()

Static Public Attributes

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 439 of file interpreter.h.


Member Function Documentation

Interpreter* KJS::ExecState::interpreter   const [inline]
 

Returns the interpreter associated with this execution state.

Returns:
The interpreter executing the script

Definition at line 452 of file interpreter.h.

Referenced by KJS::Error::create().

Context KJS::ExecState::context   const [inline]
 

Returns the execution context associated with this execution state.

Returns:
The current execution state context

Definition at line 459 of file interpreter.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kjs Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun May 16 22:02:38 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003