Modifier and Type | Field and Description |
---|---|
protected PrintStream |
out
message stream.
|
Constructor and Description |
---|
yyDebugAdapter() |
yyDebugAdapter(PrintStream out) |
Modifier and Type | Method and Description |
---|---|
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)
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.
|
protected final PrintStream out
public yyDebugAdapter(PrintStream out)
public yyDebugAdapter()
public void push(int state, Object value)
yyDebug
public void lex(int state, int token, String name, Object value)
yyDebug
public void shift(int from, int to, int errorFlag)
yyDebug
public void pop(int state)
yyDebug
public void discard(int state, int token, String name, Object value)
yyDebug
public void reduce(int from, int to, int rule, String text, int len)
yyDebug
public void shift(int from, int to)
yyDebug
public void accept(Object value)
yyDebug
Copyright © 2015. All rights reserved.