fr.umlv.tatoo.runtime.parser
Interface BranchingParserListener<T>

Type Parameters:
T - type of terminals

public interface BranchingParserListener<T>

Listeners notified by the parser when sub-parser events occur.

Author:
Remi
See Also:
ParserListener

Method Summary
 boolean enter(T terminal)
          Notifies that an enter action is performed by the parser.
 void exit()
          Notifies that an exit action is performed by the parser.
 

Method Detail

enter

boolean enter(T terminal)
Notifies that an enter action is performed by the parser.

Parameters:
terminal - the corresponding magic terminal.
Returns:
true if a sub-parser was entered.
See Also:
Parser.push(Object, Object)

exit

void exit()
Notifies that an exit action is performed by the parser. This method should never return.