Modifier and Type | Field and Description |
---|---|
static java.lang.String |
assignToken |
static java.lang.String |
withKeyword |
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.
|
static UpdateTerm |
construct(Term base,
Selector[] selectors,
Term value)
Construct selection term.
|
Term |
getBase()
Get base term.
|
int |
getPrecedence()
Get precedence value of the expression operator
(higher precedence value means higher binding power)
|
Selector[] |
getSelectors()
Get selectors.
|
Term |
getValue()
Get update value.
|
getPosition, isLeftAssociative, isRightAssociative, setPosition
accept, accept, print, printCore, toString, toStringCore
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
isLeftAssociative, isRightAssociative
getPosition, setPosition
print, printCore, toString, toStringCore
public static final java.lang.String withKeyword
public static final java.lang.String assignToken
public static UpdateTerm construct(Term base, Selector[] selectors, Term value)
base
- the base term.selectors
- the sequence of selectors.value
- the update value.public Term getBase()
public Selector[] getSelectors()
public Term getValue()
public void accept(ASTVisitorOld visitor)
public void accept(ASTVisitor visitor)
public void acceptChildren(ASTVisitor visitor)
acceptChildren
in interface AST
acceptChildren
in class ASTBase
visitor
- the visitor who is accepted by the children of this node.public int getPrecedence()
getPrecedence
in interface Expression
getPrecedence
in class ExpressionBase