orc.ast.xml.expression
Class DeclareType

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

public class DeclareType
extends Expression

Introduce a type alias.

Author:
quark
See Also:
Serialized Form

Field Summary
 Expression body
           
 Type type
           
 
Constructor Summary
DeclareType()
           
DeclareType(Type type, Expression body)
           
 
Method Summary
 java.lang.String toString()
           
 Expression unmarshal(Config config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

public Type type

body

public Expression body
Constructor Detail

DeclareType

public DeclareType()

DeclareType

public DeclareType(Type type,
                   Expression body)
Method Detail

toString

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

unmarshal

public Expression unmarshal(Config config)
                     throws CompilationException
Specified by:
unmarshal in class Expression
Throws:
CompilationException