public class VariableDeclarationImpl extends ConstraintImpl implements IVariableDeclaration
childIndex, parent, startIndex, stopIndex, tokenNEWLINE| Constructor and Description |
|---|
VariableDeclarationImpl() |
VariableDeclarationImpl(org.antlr.runtime.Token token) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(INRLAstVisitor visitor)
Accept a visitor to this node.
|
String |
dump(int indent)
Deprecated.
|
IExpression |
getExpression()
Get the expression that initialises the variable.
|
String |
getText() |
String |
getVariableName()
Return the variable name
|
IVariable |
getVariableReference()
Create a resolved variable reference.
|
void |
setVariableReference(IVariable variable) |
getNRLDataType, setNRLDataTypedoIndent, getColumn, getLine, getUserData, initialisePositionFromChild, setColumn, setLine, setUserDatadupNode, getCharPositionInLine, getChildIndex, getParent, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries, toStringaddChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, getAncestor, getAncestors, getChild, getChildCount, getChildren, getFirstChildWithType, hasAncestor, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTreeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNRLDataType, setNRLDataTypegetColumn, getLine, getUserData, setUserDatapublic VariableDeclarationImpl()
public VariableDeclarationImpl(org.antlr.runtime.Token token)
public void accept(INRLAstVisitor visitor)
INRLAstNodeaccept in interface INRLAstNodeaccept in class Antlr3NRLBaseAstvisitor - the visitor@Deprecated public String dump(int indent)
INRLAstNodedump in interface INRLAstNodedump in class Antlr3NRLBaseAstindent - the indentation count, 0 on first callpublic String getText()
getText in interface org.antlr.runtime.tree.TreegetText in class org.antlr.runtime.tree.CommonTreepublic String getVariableName()
IVariableDeclarationgetVariableName in interface IVariableDeclarationpublic IExpression getExpression()
IVariableDeclarationgetExpression in interface IVariableDeclarationpublic IVariable getVariableReference()
IVariableDeclarationgetVariableReference in interface IVariableDeclarationpublic void setVariableReference(IVariable variable)
Copyright © 2006-2013. All Rights Reserved.