fr.umlv.tatoo.cc.parser.grammar
Class ProductionDecl
java.lang.Object
fr.umlv.tatoo.cc.common.generator.AbstractObjectId
fr.umlv.tatoo.cc.parser.grammar.ProductionDecl
- All Implemented Interfaces:
- ObjectId, PriorityOwner
- Direct Known Subclasses:
- FakeProduction
public class ProductionDecl
- extends AbstractObjectId
- implements PriorityOwner
ProductionDecl
public ProductionDecl(String id,
NonTerminalDecl left,
List<? extends VariableDecl> right,
Priority priority,
VersionDecl version)
getRight
public List<? extends VariableDecl> getRight()
getLeft
public NonTerminalDecl getLeft()
getPriority
public Priority getPriority()
- Description copied from interface:
PriorityOwner
- Returns the priority.
- Specified by:
getPriority
in interface PriorityOwner
- Returns:
- the priority of the current object.
getVersion
public VersionDecl getVersion()
toString
public String toString()
- Overrides:
toString
in class AbstractObjectId