java_cup.simple_calc
public class parser extends lr_parser
Version: Sun Jul 25 13:36:02 EDT 1999
Field Summary | |
---|---|
protected CUP$parser$actions | action_obj Instance of action encapsulation class. |
protected static short[][] | _action_table Parse-action table. |
protected static short[][] | _production_table Production table. |
protected static short[][] | _reduce_tablereduce_goto table. |
Constructor Summary | |
---|---|
parser() Default constructor. | |
parser(Scanner s) Constructor which sets the default scanner. |
Method Summary | |
---|---|
short[][] | action_table() Access to parse-action table. |
Symbol | do_action(int act_num, lr_parser parser, Stack stack, int top) Invoke a user supplied parse action. |
int | error_sym()error Symbol index. |
int | EOF_sym()EOF Symbol index. |
protected void | init_actions() Action encapsulation object initializer. |
short[][] | production_table() Access to production table. |
short[][] | reduce_table() Access to reduce_goto table. |
int | start_production() Indicates start production. |
int | start_state() Indicates start state. |
reduce_goto
table.error
Symbol index.EOF
Symbol index.reduce_goto
table.