|
||||||||||
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 | |
void |
breakpoint(StackFrame frame)
This method is called if the interpreter encounters a breakpoint command. |
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,
java.lang.String desc)
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, java.lang.String desc)
frame
- the current stack framee
- the exception that has occurreddesc
- the exception description without location information
public void breakpoint(StackFrame frame)
frame
- the current stack frame
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |