fr.umlv.tatoo.cc.ebnf.ast
Class ProductionDefAST

java.lang.Object
  extended by fr.umlv.tatoo.runtime.node.AbstractNode
      extended by fr.umlv.tatoo.cc.ebnf.ast.ProductionDefAST
All Implemented Interfaces:
BindingSite, Node

public class ProductionDefAST
extends AbstractNode
implements BindingSite


Method Summary
<R,P,E extends Exception>
R
accept(TreeASTVisitor<? extends R,? super P,? extends E> visitor, P parameter)
           
 AST getAST()
           
<A> A
getAttribute(Class<A> attributeType)
           
 Bindings.ProductionBinding getBinding()
          This implementation always return null.
 ProductionIdAndVersionDefAST getIdAndVersion()
           
 Kind getKind()
           
 TokenAST<String> getNameToken()
           
 Node getParent()
           
 PriorityVarAST getPriority()
           
 List<Node> getVariableList()
           
<A> void
setAttribute(Class<A> attributeType, A attribute)
           
 void setBinding(Bindings.ProductionBinding binding)
           
protected  void setParent(Node parent)
           
 void setTokenId(TokenAST<String> id)
           
 
Methods inherited from class fr.umlv.tatoo.runtime.node.AbstractNode
allNodeList, isToken, nodeList, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface fr.umlv.tatoo.runtime.node.Node
allNodeList, getAST, getAttribute, getParent, isToken, nodeList, setAttribute
 

Method Detail

getKind

public Kind getKind()
Specified by:
getKind in interface Node

getNameToken

public TokenAST<String> getNameToken()
Specified by:
getNameToken in interface BindingSite
Returns:
may be null.

setTokenId

public void setTokenId(TokenAST<String> id)

getVariableList

public List<Node> getVariableList()

getIdAndVersion

public ProductionIdAndVersionDefAST getIdAndVersion()

getPriority

public PriorityVarAST getPriority()

getBinding

public Bindings.ProductionBinding getBinding()
This implementation always return null.

Specified by:
getBinding in interface Node

setBinding

public void setBinding(Bindings.ProductionBinding binding)

accept

public <R,P,E extends Exception> R accept(TreeASTVisitor<? extends R,? super P,? extends E> visitor,
                                          P parameter)
         throws E extends Exception
Specified by:
accept in interface Node
Throws:
E extends Exception

getAST

public AST getAST()
Specified by:
getAST in interface Node

getParent

public Node getParent()
Specified by:
getParent in interface Node

setParent

protected void setParent(Node parent)

getAttribute

public final <A> A getAttribute(Class<A> attributeType)
Specified by:
getAttribute in interface Node

setAttribute

public final <A> void setAttribute(Class<A> attributeType,
                                   A attribute)
Specified by:
setAttribute in interface Node