Package jay.yydebug
Class yyDebugAdapter
java.lang.Object
jay.yydebug.yyDebugAdapter
- All Implemented Interfaces:
yyDebug
writes one-line messages to standard output or a stream.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
parse is successful.void
discarding token during error recovery.void
syntax error.void
just called the scanner.void
pop
(int state) discarding a state during error recovery.void
just pushed the state/value stack.void
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.
-
Field Details
-
out
message stream.
-
-
Constructor Details
-
yyDebugAdapter
-
yyDebugAdapter
public yyDebugAdapter()
-
-
Method Details
-
push
Description copied from interface:yyDebug
just pushed the state/value stack. -
lex
Description copied from interface:yyDebug
just called the scanner. -
shift
public void shift(int from, int to, int errorFlag) Description copied from interface:yyDebug
moving to a new state because of input or error. -
pop
public void pop(int state) Description copied from interface:yyDebug
discarding a state during error recovery. -
discard
Description copied from interface:yyDebug
discarding token during error recovery. -
reduce
Description copied from interface:yyDebug
rule completed, calling action. -
shift
public void shift(int from, int to) Description copied from interface:yyDebug
moving to a new state following an action. -
accept
Description copied from interface:yyDebug
parse is successful. -
error
Description copied from interface:yyDebug
syntax error. -
reject
public void reject()Description copied from interface:yyDebug
error recovery failed, about to throw yyException.
-