Types
Class ARRAY

java.lang.Object
  extended by Types.Type
      extended by Types.ARRAY
All Implemented Interfaces:
Visitable

public class ARRAY
extends Type

Type for arrays.


Field Summary
 Type element
           
 
Constructor Summary
ARRAY(Type element)
           
 
Method Summary
 void accept(Visitor v)
          Visitor pattern dispatch.
 boolean coerceTo(Type t)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

element

public Type element
Constructor Detail

ARRAY

public ARRAY(Type element)
Method Detail

toString

public java.lang.String toString()
Specified by:
toString in class Type

coerceTo

public boolean coerceTo(Type t)
Specified by:
coerceTo in class Type

accept

public void accept(Visitor v)
Visitor pattern dispatch.

Specified by:
accept in interface Visitable
Specified by:
accept in class Type