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 TypeMethodDescriptionvoidparse is successful.voiddiscarding token during error recovery.voidsyntax error.voidjust called the scanner.voidpop(int state) discarding a state during error recovery.voidjust pushed the state/value stack.voidrule completed, calling action.voidreject()error recovery failed, about to throw yyException.voidshift(int from, int to) moving to a new state following an action.voidshift(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:yyDebugjust pushed the state/value stack. -
lex
Description copied from interface:yyDebugjust called the scanner. -
shift
public void shift(int from, int to, int errorFlag) Description copied from interface:yyDebugmoving to a new state because of input or error. -
pop
public void pop(int state) Description copied from interface:yyDebugdiscarding a state during error recovery. -
discard
Description copied from interface:yyDebugdiscarding token during error recovery. -
reduce
Description copied from interface:yyDebugrule completed, calling action. -
shift
public void shift(int from, int to) Description copied from interface:yyDebugmoving to a new state following an action. -
accept
Description copied from interface:yyDebugparse is successful. -
error
Description copied from interface:yyDebugsyntax error. -
reject
public void reject()Description copied from interface:yyDebugerror recovery failed, about to throw yyException.
-