JFlex
Class LexParse
java_cup.runtime.lr_parser
public class LexParse
extends java_cup.runtime.lr_parser
CUP v0.11a beta 20060608 generated parser.
LexParse() - Default constructor.
|
LexParse(LexScan scanner)
|
LexParse(java_cup.runtime.Scanner s) - Constructor which sets the default scanner.
|
LexParse(java_cup.runtime.Scanner s, java_cup.runtime.SymbolFactory sf) - Constructor which sets the default scanner.
|
_action_table
protected static final short[][] _action_table
Parse-action table.
_production_table
protected static final short[][] _production_table
Production table.
_reduce_table
protected static final short[][] _reduce_table
reduce_goto
table.
action_obj
protected JFlex.CUP$LexParse$actions action_obj
Instance of action encapsulation class.
LexParse
public LexParse()
Default constructor.
LexParse
public LexParse(LexScan scanner)
LexParse
public LexParse(java_cup.runtime.Scanner s)
Constructor which sets the default scanner.
LexParse
public LexParse(java_cup.runtime.Scanner s,
java_cup.runtime.SymbolFactory sf)
Constructor which sets the default scanner.
EOF_sym
public int EOF_sym()
EOF
Symbol index.
action_table
public short[][] action_table()
Access to parse-action table.
do_action
public java_cup.runtime.Symbol do_action(int act_num,
java_cup.runtime.lr_parser parser,
java.util.Stack stack,
int top)
throws java.lang.Exception
Invoke a user supplied parse action.
error_sym
public int error_sym()
error
Symbol index.
init_actions
protected void init_actions()
Action encapsulation object initializer.
production_table
public short[][] production_table()
Access to production table.
reduce_table
public short[][] reduce_table()
Access to reduce_goto
table.
report_error
public void report_error(String message,
Object info)
report_fatal_error
public void report_fatal_error(String message,
Object info)
start_production
public int start_production()
Indicates start production.
start_state
public int start_state()
Indicates start state.
user_init
public void user_init()
throws java.lang.Exception
User initialization code.