orc.ast.xml.expression
Class Def

java.lang.Object
  extended by orc.ast.xml.expression.Def
All Implemented Interfaces:
java.io.Serializable

public class Def
extends java.lang.Object
implements java.io.Serializable

FIXME: should include type info

Author:
quark
See Also:
Serialized Form

Field Summary
 Type[] argTypes
           
 int arity
           
 Expression body
           
 SourceLocation location
           
 java.lang.String name
           
 Type resultType
           
 int typeArity
           
 
Constructor Summary
Def()
           
Def(int arity, Expression body, int typeArity, Type[] argTypes, Type resultType, SourceLocation location, java.lang.String name)
           
 
Method Summary
 java.lang.String toString()
           
 Def unmarshal(Config config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

arity

public int arity

body

public Expression body

location

public SourceLocation location

name

public java.lang.String name

typeArity

public int typeArity

argTypes

public Type[] argTypes

resultType

public Type resultType
Constructor Detail

Def

public Def()

Def

public Def(int arity,
           Expression body,
           int typeArity,
           Type[] argTypes,
           Type resultType,
           SourceLocation location,
           java.lang.String name)
Method Detail

toString

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

unmarshal

public Def unmarshal(Config config)
              throws CompilationException
Throws:
CompilationException