|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava_cup.parse_action_table
This class represents the complete "action" table of the parser. It has one row for each state in the parse machine, and a column for each terminal symbol. Each entry in the table represents a shift, reduce, or an error.
parse_action
,
parse_action_row
Field Summary | |
protected int |
_num_states
How many rows/states are in the machine/table. |
parse_action_row[] |
under_state
Actual array of rows, one per state. |
Constructor Summary | |
parse_action_table()
Simple constructor. |
Method Summary | |
void |
check_reductions()
Check the table to ensure that all productions have been reduced. |
int |
num_states()
How many rows/states are in the machine/table. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected int _num_states
public parse_action_row[] under_state
Constructor Detail |
public parse_action_table()
Method Detail |
public int num_states()
public void check_reductions() throws internal_error
internal_error
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |