|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.core.parser.java_cup.parse_action
weka.core.parser.java_cup.nonassoc_action
public class 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 weka.core.parser.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 |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public nonassoc_action()
throws internal_error
internal_error| Method Detail |
|---|
public int kind()
kind in class parse_actionpublic boolean equals(parse_action other)
equals in class parse_actionpublic 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 | |||||||||