|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.chaperon.model.grammar.Associativity
public class Associativity
This class represents a associativity for a terminal of production.
Field Summary | |
---|---|
static Associativity |
LEFT
Left associativity |
static Associativity |
NONASSOC
Non associativity |
static Associativity |
RIGHT
Right associativity |
Constructor Summary | |
---|---|
Associativity(java.lang.String value)
Create a new associativity object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compare with another object. |
java.lang.String |
toString()
Returns the String representation of this associativity |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Associativity LEFT
public static final Associativity RIGHT
public static final Associativity NONASSOC
Constructor Detail |
---|
public Associativity(java.lang.String value)
value
- left | right | nonassoc are allowedMethod Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- Other object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |