fr.umlv.tatoo.cc.parser.grammar
Class Priority
java.lang.Object
fr.umlv.tatoo.cc.common.generator.AbstractObjectId
fr.umlv.tatoo.cc.parser.grammar.Priority
- All Implemented Interfaces:
- ObjectId
public class Priority
- extends AbstractObjectId
- Author:
- Remi Forax
Priority
public Priority(String id,
double priorityValue,
Priority.Associativity associativity)
getAssociativity
public Priority.Associativity getAssociativity()
compareTo
public int compareTo(Priority priority)
toString
public String toString()
- Overrides:
toString
in class AbstractObjectId
parseAssociativity
public static Priority.Associativity parseAssociativity(String associativity)
- Throws:
IllegalArgumentException
getNoPriority
public static Priority getNoPriority()