|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava_cup.parse_action
java_cup.nonassoc_action
This class represents a shift/reduce nonassociative error within the parse table. If action_table element is assign to type nonassoc_action, it cannot be changed, and signifies that there is a conflict between shifting and reducing a production and a terminal that shouldn't be next to each other.
Field Summary |
Fields inherited from class java_cup.parse_action |
ERROR, NONASSOC, REDUCE, SHIFT |
Constructor Summary | |
nonassoc_action()
Simple constructor. |
Method Summary | |
boolean |
equals(java.lang.Object other)
Generic equality test. |
boolean |
equals(parse_action other)
Equality test. |
int |
hashCode()
Compute a hash code. |
int |
kind()
Quick access to type of action. |
java.lang.String |
toString()
Convert to string. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public nonassoc_action() throws internal_error
Method Detail |
public int kind()
kind
in class parse_action
public boolean equals(parse_action other)
equals
in class parse_action
public boolean equals(java.lang.Object other)
equals
in class parse_action
public int hashCode()
hashCode
in class parse_action
public 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 |