• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • @topname@
  • Sitemap
  • Contact Us
 

kjs

KJS::ExecState

KJS::ExecState Class Reference

#include <interpreter.h>

List of all members.


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.


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 )() = defaultConfirm

Friends

class InterpreterImp
class FunctionImp
class GlobalFuncImp
class TryNode
class VarDeclNode
class FuncDeclNode

Member Function Documentation

Interpreter* KJS::ExecState::dynamicInterpreter (  )  const [inline]

Returns the interpreter associated with this execution state.

Returns:
The interpreter executing the script

Definition at line 453 of file interpreter.h.

Interpreter * ExecState::lexicalInterpreter (  )  const

Returns the interpreter associated with the current scope's global object.

Returns:
The interpreter currently in scope

Definition at line 395 of file interpreter.cpp.

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

Returns the execution context associated with this execution state.

Returns:
The current execution state context

Definition at line 471 of file interpreter.h.


The documentation for this class was generated from the following files:
  • interpreter.h
  • interpreter.cpp

kjs

Skip menu "kjs"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal