Constructor and Description |
---|
AtomicType(java.lang.String name)
construct atomic type with denoted name.
|
Modifier and Type | Method and Description |
---|---|
AST |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
java.lang.String |
getName()
returns name of identifier
|
Type |
instantiateType()
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 of tree on out (without new line termination).
|
printParens, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
printParens, toString
public AtomicType(java.lang.String name)
name
- the name of the typepublic java.lang.String getName()
public Type instantiateType()
public void printCore(java.io.PrintWriter out)
public AST accept(ASTVisitor visitor)
visitor
- the visitor who is accepted by this node.