public class ECAGrammarParser
extends java_cup.runtime.lr_parser
| Modifier and Type | Field | Description |
|---|---|---|
protected static short[][] |
_action_table |
|
protected static short[][] |
_production_table |
|
protected static short[][] |
_reduce_table |
|
protected org.jboss.byteman.rule.grammar.CUP$ECAGrammarParser$actions |
action_obj |
| Constructor | Description |
|---|---|
ECAGrammarParser() |
|
ECAGrammarParser(java_cup.runtime.Scanner s) |
|
ECAGrammarParser(java_cup.runtime.Scanner s,
java_cup.runtime.SymbolFactory sf) |
| Modifier and Type | Method | Description |
|---|---|---|
short[][] |
action_table() |
|
void |
debug_reduce(int prod_num,
int nt_num,
int rhs_size) |
|
void |
debug_shift(java_cup.runtime.Symbol shift_tkn) |
|
java_cup.runtime.Symbol |
do_action(int act_num,
java_cup.runtime.lr_parser parser,
Stack stack,
int top) |
|
int |
EOF_sym() |
|
void |
error(String message) |
|
void |
error(String message,
int line,
int col) |
|
int |
error_sym() |
|
int |
getErrorCount() |
|
String |
getErrors() |
|
String |
getFile() |
|
protected void |
init_actions() |
|
short[][] |
production_table() |
|
short[][] |
reduce_table() |
|
void |
report_error(String message,
Object info) |
|
java_cup.runtime.Symbol |
scan() |
|
void |
setFile(String file) |
|
int |
start_production() |
|
int |
start_state() |
|
void |
unrecovered_syntax_error(java_cup.runtime.Symbol cur_token) |
advance_lookahead, cur_err_token, debug_message, debug_parse, debug_stack, done_parsing, dump_stack, error_recovery, error_sync_size, expected_token_ids, find_recovery_config, get_action, get_reduce, getScanner, getSymbolContainer, getSymbolFactory, parse, parse_lookahead, read_lookahead, report_expected_token_ids, report_fatal_error, restart_lookahead, setScanner, shift_under_error, symbl_name_from_id, syntax_error, try_parse_ahead, unpackFromStrings, user_initprotected static final short[][] _production_table
protected static final short[][] _action_table
protected static final short[][] _reduce_table
protected org.jboss.byteman.rule.grammar.CUP$ECAGrammarParser$actions action_obj
public ECAGrammarParser()
public ECAGrammarParser(java_cup.runtime.Scanner s)
public ECAGrammarParser(java_cup.runtime.Scanner s,
java_cup.runtime.SymbolFactory sf)
public short[][] production_table()
production_table in class java_cup.runtime.lr_parserpublic short[][] action_table()
action_table in class java_cup.runtime.lr_parserpublic short[][] reduce_table()
reduce_table in class java_cup.runtime.lr_parserprotected void init_actions()
init_actions in class java_cup.runtime.lr_parserpublic java_cup.runtime.Symbol do_action(int act_num,
java_cup.runtime.lr_parser parser,
Stack stack,
int top)
throws Exception
do_action in class java_cup.runtime.lr_parserExceptionpublic int start_state()
start_state in class java_cup.runtime.lr_parserpublic int start_production()
start_production in class java_cup.runtime.lr_parserpublic int EOF_sym()
EOF_sym in class java_cup.runtime.lr_parserpublic int error_sym()
error_sym in class java_cup.runtime.lr_parserpublic java_cup.runtime.Symbol scan()
throws Exception
scan in class java_cup.runtime.lr_parserExceptionpublic void setFile(String file)
public void report_error(String message, Object info)
report_error in class java_cup.runtime.lr_parserpublic void unrecovered_syntax_error(java_cup.runtime.Symbol cur_token)
unrecovered_syntax_error in class java_cup.runtime.lr_parserpublic void error(String message)
public void error(String message, int line, int col)
public String getFile()
public int getErrorCount()
public String getErrors()
public void debug_reduce(int prod_num,
int nt_num,
int rhs_size)
debug_reduce in class java_cup.runtime.lr_parserpublic void debug_shift(java_cup.runtime.Symbol shift_tkn)
debug_shift in class java_cup.runtime.lr_parserCopyright © 2018. All rights reserved.