public final class IndexSelector extends SelectorBase
| Modifier and Type | Field and Description |
|---|---|
ValueExpression |
index |
| 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 IndexSelector |
construct(ValueExpression index)
Construct a selection by index.
|
getLogicBaseType, getType, setLogicBaseType, setTypeaccept, accept, print, printCore, toString, toStringCoreequals, getClass, hashCode, notify, notifyAll, wait, wait, waitprint, printCore, toString, toStringCorepublic ValueExpression index
public static IndexSelector construct(ValueExpression index)
index - the indexpublic void accept(ASTVisitorOld visitor)
accept in interface ASTaccept in class ASTProgramBasevisitor - the visitor who is accepted by this node.public void accept(ASTVisitor visitor)
accept in interface ASTaccept in class SelectorBasevisitor - the visitor who is accepted by this node.public void acceptChildren(ASTVisitor visitor)
acceptChildren in interface ASTacceptChildren in class ASTBasevisitor - the visitor who is accepted by the children of this node.