public final class SelectorNumber extends SelectorBase
Constructor and Description |
---|
SelectorNumber(Number base)
make selector from number base
|
Modifier and Type | Method and Description |
---|---|
AST |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
Number |
getNumber()
get the base number
|
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 SelectorNumber(Number base)
base
- the selector basepublic Number getNumber()
public Selector instantiate()
public void printCore(java.io.PrintWriter out)
public AST accept(ASTVisitor visitor)
visitor
- the visitor who is accepted by this node.