orc.ast.extended.declaration.defn
Class AggregateDefn

java.lang.Object
  extended by orc.ast.extended.declaration.defn.AggregateDefn

public class AggregateDefn
extends java.lang.Object


Field Summary
protected  java.util.List<Type> argTypes
           
protected  java.util.List<Clause> clauses
           
protected  SourceLocation location
           
protected  Type resultType
           
protected  java.util.List<java.lang.String> typeParams
           
protected  Var var
           
 
Constructor Summary
AggregateDefn()
           
 
Method Summary
 void addClause(Clause c)
           
 void addLocation(SourceLocation sourceLocation)
           
 Var getVar()
           
 void setArgTypes(java.util.List<Type> argTypes)
           
 void setResultType(Type resultType)
           
 void setTypeParams(java.util.List<java.lang.String> typeParams)
           
 Definition simplify()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clauses

protected java.util.List<Clause> clauses

var

protected Var var

typeParams

protected java.util.List<java.lang.String> typeParams

argTypes

protected java.util.List<Type> argTypes

resultType

protected Type resultType

location

protected SourceLocation location
Constructor Detail

AggregateDefn

public AggregateDefn()
Method Detail

addClause

public void addClause(Clause c)

getVar

public Var getVar()

simplify

public Definition simplify()
                    throws CompilationException
Throws:
CompilationException

setTypeParams

public void setTypeParams(java.util.List<java.lang.String> typeParams)

setResultType

public void setResultType(Type resultType)

setArgTypes

public void setArgTypes(java.util.List<Type> argTypes)

addLocation

public void addLocation(SourceLocation sourceLocation)