| Modifier and Type | Field and Description |
|---|---|
protected java.io.PrintStream |
out
message stream.
|
| Constructor and Description |
|---|
yyDebugAdapter() |
yyDebugAdapter(java.io.PrintStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(java.lang.Object value)
parse is successful.
|
void |
discard(int state,
int token,
java.lang.String name,
java.lang.Object value)
discarding token during error recovery.
|
void |
error(java.lang.String message)
syntax error.
|
void |
lex(int state,
int token,
java.lang.String name,
java.lang.Object value)
just called the scanner.
|
void |
pop(int state)
discarding a state during error recovery.
|
void |
push(int state,
java.lang.Object value)
just pushed the state/value stack.
|
void |
reduce(int from,
int to,
int rule,
java.lang.String text,
int len)
rule completed, calling action.
|
void |
reject()
error recovery failed, about to throw yyException.
|
void |
shift(int from,
int to)
moving to a new state following an action.
|
void |
shift(int from,
int to,
int errorFlag)
moving to a new state because of input or error.
|
public yyDebugAdapter(java.io.PrintStream out)
public yyDebugAdapter()
public void push(int state,
java.lang.Object value)
yyDebugpublic void lex(int state,
int token,
java.lang.String name,
java.lang.Object value)
yyDebugpublic void shift(int from,
int to,
int errorFlag)
yyDebugpublic void pop(int state)
yyDebugpublic void discard(int state,
int token,
java.lang.String name,
java.lang.Object value)
yyDebugpublic void reduce(int from,
int to,
int rule,
java.lang.String text,
int len)
yyDebugpublic void shift(int from,
int to)
yyDebugpublic void accept(java.lang.Object value)
yyDebugpublic void error(java.lang.String message)
yyDebug