All Packages Class Hierarchy This Package Previous Next Index
Class duckMachine.operatingSystem.ObjectFileParser
java.lang.Object
|
+----java_cup.runtime.lr_parser
|
+----duckMachine.operatingSystem.ObjectFileParser
- public class ObjectFileParser
- extends lr_parser
-
_action_table
- parse action table
-
_production_table
- production table
-
_reduce_table
- reduce_goto table
-
action_obj
- instance of action encapsulation class
-
ObjectFileParser()
- constructor
-
ObjectFileParser(Lexer, ObjectFileError)
-
-
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
-
report_error(String, Symbol)
-
-
scan()
- scan to get the next Symbol
-
start_production()
- start production
-
start_state()
- start state
-
syntax_error(Symbol)
-
_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$actions action_obj
- instance of action encapsulation class
ObjectFileParser
public ObjectFileParser()
- constructor
ObjectFileParser
public ObjectFileParser(Lexer l,
ObjectFileError e)
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()
- start state
- Overrides:
- start_state in class lr_parser
start_production
public int start_production()
- 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
scan
public Symbol scan() throws Exception
- scan to get the next Symbol
- Overrides:
- scan in class lr_parser
syntax_error
public void syntax_error(Symbol current)
- Overrides:
- syntax_error in class lr_parser
report_error
public void report_error(String message,
Symbol info)
All Packages Class Hierarchy This Package Previous Next Index