| Constructor and Description |
|---|
ArrayType(Type index,
Type base)
construct array type with denoted index type and base type.
|
| Modifier and Type | Method and Description |
|---|---|
AST |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
Type |
getBase()
returns base type
|
Type |
getIndex()
returns index type
|
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 type on out (without new line termination).
|
printParens, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitprintParens, toStringpublic Type getIndex()
public 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.