org.openarchitectureware.expression
Interface Callback


public interface Callback

an instance of this interface can be injected into the execution context. It is notified before and after analyzation/evaluation of each AST node.

Author:
Sven Efftinge

Method Summary
 void post(java.lang.Object expressionResult)
           
 void pre(SyntaxElement ele, ExecutionContext ctx)
           
 

Method Detail

pre

void pre(SyntaxElement ele,
         ExecutionContext ctx)
Parameters:
ele -
ctx -

post

void post(java.lang.Object expressionResult)
Parameters:
expressionResult - the result of the evaluation (an instance of Type in analyzation phase) if syntax element was an instance of Expression