All Packages Class Hierarchy This Package Previous Next Index
Class edu.gac.max.mcs388.s2002.c0.parser
java.lang.Object
|
+----java_cup.runtime.lr_parser
|
+----edu.gac.max.mcs388.s2002.c0.parser
- public class parser
- extends lr_parser
CUP v0.10J generated parser.
-
_action_table
- Parse-action table.
-
_production_table
- Production table.
-
_reduce_table
-
reduce_goto
table.
-
action_obj
- Instance of action encapsulation class.
-
parser()
- Default constructor.
-
parser(Scanner)
- Constructor which sets the default scanner.
-
action_table()
- Access to parse-action table.
-
do_action(int, lr_parser, Stack, int)
- Invoke a user supplied parse action.
-
EOF_sym()
-
EOF
Symbol index.
-
error_sym()
-
error
Symbol index.
-
init_actions()
- Action encapsulation object initializer.
-
production_table()
- Access to production table.
-
reduce_table()
- Access to
reduce_goto
table.
-
scan()
- Scan to get the next Symbol.
-
start_production()
- Indicates start production.
-
start_state()
- Indicates start state.
-
user_init()
- User initialization code.
_production_table
protected static final short _production_table[][]
- Production table.
_action_table
protected static final short _action_table[][]
- Parse-action table.
_reduce_table
protected static final short _reduce_table[][]
-
reduce_goto
table.
action_obj
protected CUP$parser$actions action_obj
- Instance of action encapsulation class.
parser
public parser()
- Default constructor.
parser
public parser(Scanner s)
- Constructor which sets the default scanner.
production_table
public short[][] production_table()
- Access to production table.
- Overrides:
- production_table in class lr_parser
action_table
public short[][] action_table()
- Access to parse-action table.
- Overrides:
- action_table in class lr_parser
reduce_table
public short[][] reduce_table()
- Access to
reduce_goto
table.
- Overrides:
- reduce_table in class lr_parser
init_actions
protected void init_actions()
- Action encapsulation object initializer.
- Overrides:
- init_actions in class lr_parser
do_action
public Symbol do_action(int act_num,
lr_parser parser,
Stack stack,
int top) throws Exception
- Invoke a user supplied parse action.
- Overrides:
- do_action in class lr_parser
start_state
public int start_state()
- Indicates start state.
- Overrides:
- start_state in class lr_parser
start_production
public int start_production()
- Indicates start production.
- Overrides:
- start_production in class lr_parser
EOF_sym
public int EOF_sym()
-
EOF
Symbol index.
- Overrides:
- EOF_sym in class lr_parser
error_sym
public int error_sym()
-
error
Symbol index.
- Overrides:
- error_sym in class lr_parser
user_init
public void user_init() throws Exception
- User initialization code.
- Overrides:
- user_init in class lr_parser
scan
public Symbol scan() throws Exception
- Scan to get the next Symbol.
- Overrides:
- scan in class lr_parser
All Packages Class Hierarchy This Package Previous Next Index