|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VetoableCallback
an instance of this interface can be injected into the execution context. It is notified before and after analyzation/evaluation of each AST node.
Method Summary | |
---|---|
void |
post(SyntaxElement ele,
ExecutionContext ctx,
java.lang.Object expressionResult)
Called after an element has been processed. |
boolean |
pre(SyntaxElement ele,
ExecutionContext ctx)
Called before an element is being processed. |
Method Detail |
---|
boolean pre(SyntaxElement ele, ExecutionContext ctx)
ele
- The element being processed. Never null.ctx
- The execution context in which processing occurs. Never null.
void post(SyntaxElement ele, ExecutionContext ctx, java.lang.Object expressionResult)
ele
- The element being processed. Never null.ctx
- The execution context in which processing occurs. Never null.expressionResult
- the result of the evaluation (an instance of Type
in analyzation phase) if syntax element was
an instance of Expression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |