| Package | Description |
|---|---|
| org.acplt.oncrpc.apps.jrpcgen |
jrpcgen for ONC/RPC Java package.
|
| org.acplt.oncrpc.apps.jrpcgen.cup_runtime |
| Modifier and Type | Method and Description |
|---|---|
Symbol |
JrpcgenParser.do_action(int act_num,
lr_parser parser,
Stack stack,
int top)
Invoke a user supplied parse action.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JrpcgenParser.syntax_error(Symbol cur_token) |
| Modifier and Type | Field and Description |
|---|---|
protected Symbol |
lr_parser.cur_token
The current lookahead Symbol.
|
protected Symbol[] |
lr_parser.lookahead
Lookahead Symbols used for attempting error recovery "parse aheads".
|
| Modifier and Type | Field and Description |
|---|---|
protected Stack<Symbol> |
virtual_parse_stack.real_stack
The real stack that we shadow.
|
| Modifier and Type | Method and Description |
|---|---|
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,
Stack stack,
int top)
Perform a bit of user supplied action code (supplied by generated
subclass).
|
Symbol |
Scanner.next_token()
Return the next token, or
null on end-of-file. |
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).
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Constructor and Description |
|---|
virtual_parse_stack(Stack<Symbol> shadowing_stack)
Constructor to build a virtual stack out of a real stack.
|
Copyright © 2014. All Rights Reserved.