orc.ast.extended.type
Class TupleType

java.lang.Object
  extended by orc.ast.extended.type.Type
      extended by orc.ast.extended.type.TupleType

public class TupleType
extends Type

A type tuple: (T,...,T)

Author:
dkitchin

Field Summary
 java.util.List<Type> items
           
 
Fields inherited from class orc.ast.extended.type.Type
BOT, TOP
 
Constructor Summary
TupleType(java.util.List<Type> items)
           
 
Method Summary
 Type simplify()
          Convert this extended AST type into a simple AST type.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

items

public java.util.List<Type> items
Constructor Detail

TupleType

public TupleType(java.util.List<Type> items)
Method Detail

simplify

public Type simplify()
Description copied from class: Type
Convert this extended AST type into a simple AST type.

Specified by:
simplify in class Type

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object