|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- type of terminals.N
- type of non terminals.P
- type of productions.public interface ParserListener<T,N,P>
Parser action listener.
ErrorRecoveryListener
,
BranchingParserListener
Method Summary | |
---|---|
void |
accept(N nonTerminal)
Notifies that the accept action is performed by the parser on the start non terminaL. |
void |
reduce(P production)
Notifies that a reduce action is performed by the parser. |
void |
shift(T terminal)
Notifies that a shift action is performed by the parser. |
Method Detail |
---|
void shift(T terminal)
terminal
- shifted terminal.void reduce(P production)
production
- reduced production.void accept(N nonTerminal)
nonTerminal
- accepted non terminal.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |