public class SelectorBase extends ASTProgramBase implements Selector
Constructor and Description |
---|
SelectorBase() |
Modifier and Type | Method and Description |
---|---|
void |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
Type |
getLogicBaseType()
get type of expression to which selector is applied
|
TypeExpression |
getType()
set type of expression after selection
|
void |
setLogicBaseType(Type type)
set type of expression to which selector is applied
|
void |
setType(TypeExpression type)
set type of expression after selection
|
accept
accept, accept, acceptChildren, print, printCore, toString, toStringCore
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept, acceptChildren, print, printCore, toString, toStringCore
public void setType(TypeExpression type)
public TypeExpression getType()
public void setLogicBaseType(Type type)
setLogicBaseType
in interface Selector
type
- the type.public Type getLogicBaseType()
getLogicBaseType
in interface Selector
public void accept(ASTVisitor visitor)
accept
in interface AST
accept
in class ASTProgramBase
visitor
- the visitor who is accepted by this node.