public final class SelectorIndex extends SelectorBase
Constructor and Description |
---|
SelectorIndex(Expression base)
make selector from general index expression
|
Modifier and Type | Method and Description |
---|---|
AST |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
Expression |
getIndex()
get index expression
|
Selector |
instantiate()
return copy of AST with value references instantiated by the substitutions
set in the corresponding declaration identifiers
|
void |
printCore(java.io.PrintWriter out)
Prints text representation on out (without new line termination).
|
print
printParens, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
printParens, toString
public SelectorIndex(Expression base)
base
- the selector basepublic Expression getIndex()
public Selector instantiate()
public void printCore(java.io.PrintWriter out)
public AST accept(ASTVisitor visitor)
visitor
- the visitor who is accepted by this node.