|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Symbol | |
---|---|
java_cup | |
java_cup.runtime |
Uses of Symbol in java_cup |
---|
Methods in java_cup that return Symbol | |
---|---|
static Symbol |
lexer.debug_next_token()
Debugging version of next_token(). |
Symbol |
parser.do_action(int act_num,
lr_parser parser,
java.util.Stack stack,
int top)
Invoke a user supplied parse action. |
protected static Symbol |
lexer.do_code_string()
Swallow up a code string. |
protected static Symbol |
lexer.do_id()
Process an identifier. |
static Symbol |
lexer.next_token()
Return one Symbol. |
protected static Symbol |
lexer.real_next_token()
The actual routine to return one Symbol. |
Symbol |
parser.scan()
Scan to get the next Symbol. |
Uses of Symbol in java_cup.runtime |
---|
Fields in java_cup.runtime declared as Symbol | |
---|---|
protected Symbol |
lr_parser.cur_token
The current lookahead Symbol. |
protected Symbol[] |
lr_parser.lookahead
Lookahead Symbols used for attempting error recovery "parse aheads". |
Methods in java_cup.runtime that return Symbol | |
---|---|
protected Symbol |
lr_parser.cur_err_token()
Return the current lookahead in our error "parse ahead" buffer. |
Symbol |
lr_parser.debug_parse()
Perform a parse with debugging output. |
abstract Symbol |
lr_parser.do_action(int act_num,
lr_parser parser,
java.util.Stack stack,
int top)
Perform a bit of user supplied action code (supplied by generated subclass). |
Symbol |
Scanner.next_token()
|
Symbol |
lr_parser.parse()
This method provides the main parsing routine. |
Symbol |
lr_parser.scan()
Get the next Symbol from the input (supplied by generated subclass). |
Methods in java_cup.runtime with parameters of type Symbol | |
---|---|
void |
lr_parser.debug_shift(Symbol shift_tkn)
Do debug output for shift. |
void |
lr_parser.syntax_error(Symbol cur_token)
This method is called when a syntax error has been detected and recovery is about to be invoked. |
void |
lr_parser.unrecovered_syntax_error(Symbol cur_token)
This method is called if it is determined that syntax error recovery has been unsuccessful. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |