| Constructor and Description |
|---|
TupleType(Type[] base)
construct record type with denoted base types.
|
| Modifier and Type | Method and Description |
|---|---|
AST |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
Type[] |
getBase()
returns base types
|
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 on out (without new line termination).
|
printParens, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitprintParens, toStringpublic TupleType(Type[] base)
base - the base typespublic Type[] getBase()
public Type instantiateType()
public void printCore(java.io.PrintWriter out)
public AST accept(ASTVisitor visitor)
visitor - the visitor who is accepted by this node.