public abstract class ProgramVariableBase extends TermBase implements ProgramVariable
| Modifier and Type | Field and Description |
|---|---|
static int |
precedence |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
void |
accept(ASTVisitorOld visitor)
Accept visitor for a visit.
|
void |
acceptChildren(ASTVisitor visitor)
Accept visitor for a visit to the children of this node.
|
abstract java.lang.String |
getKeyword()
Get string representation of keyword.
|
Name |
getName()
Get name of variable.
|
int |
getPrecedence()
Get precedence value of the term operator
(higher precedence value means higher binding power)
|
getPosition, isLeftAssociative, isRightAssociative, setPositionaccept, accept, print, printCore, toString, toStringCoreequals, getClass, hashCode, notify, notifyAll, wait, wait, waitisLeftAssociative, isRightAssociativegetPosition, setPositionprint, printCore, toString, toStringCorepublic static final int precedence
public Name getName()
getName in interface ProgramVariablepublic abstract java.lang.String getKeyword()
public void accept(ASTVisitorOld visitor)
public void accept(ASTVisitor visitor)
public void acceptChildren(ASTVisitor visitor)
acceptChildren in interface ASTacceptChildren in class ASTBasevisitor - the visitor who is accepted by the children of this node.public int getPrecedence()
getPrecedence in interface ExpressiongetPrecedence in class ExpressionBase