fr.umlv.tatoo.cc.ebnf.ast
Class SimpleNodeAST<V>
java.lang.Object
fr.umlv.tatoo.runtime.node.AbstractNode
fr.umlv.tatoo.runtime.node.SimpleNode<V>
fr.umlv.tatoo.cc.ebnf.ast.SimpleNodeAST<V>
- All Implemented Interfaces:
- Node
public class SimpleNodeAST<V>
- extends SimpleNode<V>
SimpleNodeAST
public SimpleNodeAST(AST ast,
Kind kind,
V value,
List<Node> allNodes)
getKind
public Kind getKind()
accept
public <R,P,E extends Exception> R accept(TreeASTVisitor<? extends R,? super P,? extends E> visitor,
P parameter)
throws E extends Exception
- 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)
getBinding
public Binding getBinding()
- This implementation always return null.
- Specified by:
getBinding in interface Node
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