Constructor and Description |
---|
FunctionType(Type[] domain,
Type range)
construct function type from domain and range.
|
Modifier and Type | Method and Description |
---|---|
AST |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
Type[] |
getDomain()
returns domain of type
|
Type |
getRange()
returns range of 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, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
printParens, toString
public Type[] getDomain()
public Type getRange()
public Type instantiateType()
public void printCore(java.io.PrintWriter out)
public AST accept(ASTVisitor visitor)
visitor
- the visitor who is accepted by this node.