fr.umlv.tatoo.cc.parser.grammar
Class ProductionDecl

java.lang.Object
  extended by fr.umlv.tatoo.cc.common.generator.AbstractObjectId
      extended by fr.umlv.tatoo.cc.parser.grammar.ProductionDecl
All Implemented Interfaces:
ObjectId, PriorityOwner
Direct Known Subclasses:
FakeProduction

public class ProductionDecl
extends AbstractObjectId
implements PriorityOwner


Constructor Summary
ProductionDecl(String id, NonTerminalDecl left, List<? extends VariableDecl> right, Priority priority, VersionDecl version)
           
 
Method Summary
 NonTerminalDecl getLeft()
           
 Priority getPriority()
          Returns the priority.
 List<? extends VariableDecl> getRight()
           
 VersionDecl getVersion()
           
 String toString()
           
 
Methods inherited from class fr.umlv.tatoo.cc.common.generator.AbstractObjectId
getId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProductionDecl

public ProductionDecl(String id,
                      NonTerminalDecl left,
                      List<? extends VariableDecl> right,
                      Priority priority,
                      VersionDecl version)
Method Detail

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