Package mini_c
Class MyParser
- java.lang.Object
 - 
- java_cup.runtime.lr_parser
 - 
- mini_c.Parser
 - 
- mini_c.MyParser
 
 
 
 
- 
public class MyParser extends Parser
 
- 
- 
Field Summary
- 
Fields inherited from class mini_c.Parser
_action_table, _production_table, _reduce_table, action_obj 
 - 
 
- 
Constructor Summary
Constructors Constructor Description MyParser(java_cup.runtime.Scanner scanner) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreport_error(java.lang.String message, java.lang.Object info)voidreport_fatal_error(java.lang.String message, java.lang.Object info)(package private) java.lang.StringshowSymbol(int token)- 
Methods inherited from class mini_c.Parser
action_table, do_action, EOF_sym, error_sym, init_actions, production_table, reduce_table, start_production, start_state 
- 
Methods inherited from class java_cup.runtime.lr_parser
advance_lookahead, cur_err_token, debug_message, debug_parse, debug_reduce, debug_shift, debug_stack, done_parsing, dump_stack, error_recovery, error_sync_size, find_recovery_config, get_action, get_reduce, getScanner, getSymbolFactory, parse, parse_lookahead, read_lookahead, restart_lookahead, scan, setScanner, shift_under_error, syntax_error, try_parse_ahead, unpackFromStrings, unrecovered_syntax_error, user_init 
 - 
 
 - 
 
- 
- 
Method Detail
- 
report_error
public void report_error(java.lang.String message, java.lang.Object info)- Overrides:
 report_errorin classjava_cup.runtime.lr_parser
 
- 
report_fatal_error
public void report_fatal_error(java.lang.String message, java.lang.Object info) throws java.lang.Exception- Overrides:
 report_fatal_errorin classjava_cup.runtime.lr_parser- Throws:
 java.lang.Exception
 
- 
showSymbol
java.lang.String showSymbol(int token)
 
 - 
 
 -