fr.umlv.tatoo.cc.ebnf.ast
Class UnquotedIdVarAST
java.lang.Object
fr.umlv.tatoo.runtime.node.AbstractNode
fr.umlv.tatoo.cc.ebnf.ast.UnquotedIdVarAST
- All Implemented Interfaces:
- VariableVarAST, BindingSite, Node
public class UnquotedIdVarAST
- extends AbstractNode
- implements VariableVarAST
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.
getName
public String getName()
- Specified by:
getName in interface VariableVarAST
getBinding
public Bindings.VariableBinding<?> getBinding()
- This implementation always return null.
- Specified by:
getBinding in interface VariableVarAST- Specified by:
getBinding in interface Node
setBinding
public void setBinding(Bindings.VariableBinding<?> 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