|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is implemented by objects which are called by the Interpreter when statements are executed
Method Summary | |
boolean |
compoundStatementExecuted(StackFrame frame)
This method is called each time a compound statement is executed by the interpreter, just before the statement is performed |
boolean |
exceptionEncountered(StackFrame frame,
java.lang.Exception e)
This method is called if an exception is encountered while executing a script. |
boolean |
statementExecuted(StackFrame frame,
int statement_type)
This method is called each time a statement is executed by the interpreter, just before the statement is performed |
Method Detail |
public boolean statementExecuted(StackFrame frame, int statement_type)
frame
- the current stack framestatement_type
- an integer indicating the type of statement, a constant s_ value from the ParseNode class
public boolean compoundStatementExecuted(StackFrame frame)
frame
- the current stack frame
public boolean exceptionEncountered(StackFrame frame, java.lang.Exception e)
frame
- the current stack framee
- the exception that has occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |