orc.ast.simple.type
Class TupleType

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

public class TupleType
extends Type

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

Author:
dkitchin

Field Summary
 java.util.List<Type> items
           
 
Fields inherited from class orc.ast.simple.type.Type
BLANK
 
Constructor Summary
TupleType(java.util.List<Type> items)
           
 
Method Summary
 Type convert(Env<java.lang.String> env)
          Convert this syntactic type into an actual type, given an appropriate type context
 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

convert

public Type convert(Env<java.lang.String> env)
             throws TypeException
Description copied from class: Type
Convert this syntactic type into an actual type, given an appropriate type context

Specified by:
convert in class Type
Returns:
A new node.
Throws:
TypeException

toString

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