Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

skStatementStepper Class Reference

This abstract class is used to provide an interface for the Interpreter to call each time a statement is executed. More...

#include <skStatementStepper.h>

List of all members.

Public Member Functions

virtual bool statementExecuted (const skStackFrame &stack_frame, int statement_type)=0
 This method is called each time a statement is executed by the interpreter, just before the statement is performed.

virtual bool compoundStatementExecuted (const skStackFrame &stack_frame)=0
 This method is called each time a compound statement is executed by the interpreter, just before the statement is performed.

virtual bool exceptionEncountered (const skStackFrame *stack_frame, const skException &e)=0
 This method is called if an exception is encountered while executing a script.

virtual void breakpoint (const skStackFrame *stack_frame)=0
 This method is called if the interpreter encounters a breakpoint command.


Detailed Description

This abstract class is used to provide an interface for the Interpreter to call each time a statement is executed.


Member Function Documentation

virtual void skStatementStepper::breakpoint const skStackFrame stack_frame  )  [pure virtual]
 

This method is called if the interpreter encounters a breakpoint command.

Parameters:
stack_frame the current stack frame

virtual bool skStatementStepper::compoundStatementExecuted const skStackFrame stack_frame  )  [pure virtual]
 

This method is called each time a compound statement is executed by the interpreter, just before the statement is performed.

Parameters:
stack_frame the current stack frame
Returns:
false to halt the execution of the current method

virtual bool skStatementStepper::exceptionEncountered const skStackFrame stack_frame,
const skException e
[pure virtual]
 

This method is called if an exception is encountered while executing a script.

Parameters:
stack_frame the current stack frame
e the exception that has occurred
Returns:
true to throw the exception, false to ignore and continue

virtual bool skStatementStepper::statementExecuted const skStackFrame stack_frame,
int  statement_type
[pure virtual]
 

This method is called each time a statement is executed by the interpreter, just before the statement is performed.

Returns:
false to halt the execution of the current method
Parameters:
stack_frame the current stack frame
statement_type an integer indicating the type of statement, a constant s_ value from skParseNode.h


The documentation for this class was generated from the following file:
Generated on Fri Dec 17 20:27:35 2004 for Simkin by doxygen1.3