• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kjs
 

kjs

  • KJS
  • ContextImp
Public Member Functions | Friends | List of all members
KJS::ContextImp Class Reference

#include <context.h>

Public Member Functions

 ContextImp (Object &glob, InterpreterImp *interpreter, Object &thisV, int _sourceId, CodeType type=GlobalCode, ContextImp *callingContext=0L, FunctionImp *func=0L, const List *args=0)
 
const ScopeChain & scopeChain () const
 
CodeType codeType () const
 
Object variableObject () const
 
void setVariableObject (const Object &v)
 
Object thisValue () const
 
ContextImp * callingContext ()
 
ObjectImp * activationObject ()
 
FunctionImp * function () const
 
const List * arguments () const
 
void pushScope (const Object &s)
 
void popScope ()
 
LabelStack * seenLabels ()
 
void mark ()
 
void pushTryCatch ()
 
void popTryCatch ()
 
bool inTryCatch () const
 
void setLines (int l0, int l1)
 

Friends

class Context
 
class StatementNode
 

Detailed Description

Execution context.

Definition at line 34 of file context.h.

Constructor & Destructor Documentation

◆ ContextImp()

ContextImp::ContextImp ( Object &  glob,
InterpreterImp *  interpreter,
Object &  thisV,
int  _sourceId,
CodeType  type = GlobalCode,
ContextImp *  callingContext = 0L,
FunctionImp *  func = 0L,
const List *  args = 0 
)

Definition at line 373 of file internal.cpp.

◆ ~ContextImp()

ContextImp::~ContextImp ( )
virtual

Definition at line 433 of file internal.cpp.

Member Function Documentation

◆ activationObject()

ObjectImp * KJS::ContextImp::activationObject ( )
inline

Definition at line 49 of file context.h.

◆ arguments()

const List * KJS::ContextImp::arguments ( ) const
inline

Definition at line 51 of file context.h.

◆ callingContext()

ContextImp * KJS::ContextImp::callingContext ( )
inline

Definition at line 48 of file context.h.

◆ codeType()

CodeType KJS::ContextImp::codeType ( ) const
inline

Definition at line 44 of file context.h.

◆ function()

FunctionImp * KJS::ContextImp::function ( ) const
inline

Definition at line 50 of file context.h.

◆ inTryCatch()

bool ContextImp::inTryCatch ( ) const

Definition at line 445 of file internal.cpp.

◆ mark()

void ContextImp::mark ( )

Definition at line 438 of file internal.cpp.

◆ popScope()

void KJS::ContextImp::popScope ( )
inline

Definition at line 54 of file context.h.

◆ popTryCatch()

void KJS::ContextImp::popTryCatch ( )
inline

Definition at line 60 of file context.h.

◆ pushScope()

void KJS::ContextImp::pushScope ( const Object &  s)
inline

Definition at line 53 of file context.h.

◆ pushTryCatch()

void KJS::ContextImp::pushTryCatch ( )
inline

Definition at line 59 of file context.h.

◆ scopeChain()

const ScopeChain & KJS::ContextImp::scopeChain ( ) const
inline

Definition at line 43 of file context.h.

◆ seenLabels()

LabelStack * KJS::ContextImp::seenLabels ( )
inline

Definition at line 55 of file context.h.

◆ setLines()

void KJS::ContextImp::setLines ( int  l0,
int  l1 
)
inline

Definition at line 63 of file context.h.

◆ setVariableObject()

void KJS::ContextImp::setVariableObject ( const Object &  v)
inline

Definition at line 46 of file context.h.

◆ thisValue()

Object KJS::ContextImp::thisValue ( ) const
inline

Definition at line 47 of file context.h.

◆ variableObject()

Object KJS::ContextImp::variableObject ( ) const
inline

Definition at line 45 of file context.h.

Friends And Related Function Documentation

◆ Context

friend class Context
friend

Definition at line 35 of file context.h.

◆ StatementNode

friend class StatementNode
friend

Definition at line 36 of file context.h.


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

kjs

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

kjs

Skip menu "kjs"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for kjs by doxygen 1.9.4
This website is maintained by Timothy Pearson.