orc.ast.extended.declaration.def
Class AggregateDef
java.lang.Object
orc.ast.extended.declaration.def.AggregateDef
public class AggregateDef
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clauses
protected java.util.List<Clause> clauses
var
protected Variable 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
AggregateDef
public AggregateDef()
addClause
public void addClause(Clause c)
getVar
public Variable getVar()
simplify
public Def simplify()
throws CompilationException
- Throws:
CompilationException
setTypeParams
public void setTypeParams(java.util.List<java.lang.String> typeParams)
throws CompilationException
- Throws:
CompilationException
setResultType
public void setResultType(Type resultType)
throws CompilationException
- Throws:
CompilationException
setArgTypes
public void setArgTypes(java.util.List<Type> argTypes)
throws CompilationException
- Throws:
CompilationException
addLocation
public void addLocation(SourceLocation sourceLocation)
setStrictness
public void setStrictness(boolean strict)
throws CompilationException
- Parameters:
strict
-
- Throws:
CompilationException
isStrict
public boolean isStrict()