|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object
|
+--java_cup.parse_action
|
+--java_cup.reduce_action
This class represents a reduce action within the parse table. The action simply stores the production that it reduces with and responds to queries about its type.
| Field Summary | |
|---|---|
protected java_cup.production |
_reduce_with
The production we reduce with. |
| Fields inherited from class java_cup.parse_action |
|---|
ERROR, NONASSOC, REDUCE, SHIFT |
| Constructor Summary | |
|---|---|
reduce_action(java_cup.production prod)
Simple constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
Generic equality test. |
boolean |
equals(java_cup.reduce_action other)
Equality test. |
int |
hashCode()
Compute a hash code. |
int |
kind()
Quick access to type of action. |
java_cup.production |
reduce_with()
The production we reduce with. |
java.lang.String |
toString()
Convert to string. |
| Methods inherited from class java_cup.parse_action |
|---|
equals |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java_cup.production _reduce_with
| Constructor Detail |
public reduce_action(java_cup.production prod)
throws internal_error
prod - the production this action reduces with.| Method Detail |
public java_cup.production reduce_with()
public int kind()
kind in class parse_actionpublic boolean equals(java_cup.reduce_action other)
public boolean equals(java.lang.Object other)
equals in class parse_actionpublic int hashCode()
hashCode in class parse_actionpublic java.lang.String toString()
toString in class parse_action
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||