jay.yydebug
public interface yyDebug
Method Summary | |
---|---|
void | accept(Object value) parse is successful. |
void | discard(int state, int token, String name, Object value) discarding token during error recovery. |
void | error(String message) syntax error. |
void | lex(int state, int token, String name, Object value) just called the scanner. |
void | pop(int state) discarding a state during error recovery. |
void | push(int state, Object value) just pushed the state/value stack. |
void | reduce(int from, int to, int rule, String text, int len) rule completed, calling action. |
void | reject() error recovery failed, about to throw yyException. |
void | shift(int from, int to, int errorFlag) moving to a new state because of input or error. |
void | shift(int from, int to) moving to a new state following an action. |
Parameters: value to be returned by yyparse().
Parameters: state current state. token discarded. name of token in grammar. value will be obtained from scanner.
Parameters: state current state. token just obtained from scanner. name of token in grammar. value will be obtained from scanner.
Parameters: state discarded.
Parameters: state current state. value current value.
Parameters: from current state. to state to be uncovered. rule number of completed right-hand side. text text of rule. len number of symbols in rule.
Parameters: from current state. to next state. errorFlag value in next state.
Parameters: from current state. to next state.