orc.ast.xml.expression
Class HasType

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

public class HasType
extends Expression

An expression with an ascribed type.

Author:
quark
See Also:
Serialized Form

Field Summary
 Expression body
           
 boolean checked
           
 Type type
           
 
Constructor Summary
HasType()
           
HasType(Expression body, Type type, boolean checked)
           
 
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

body

public Expression body

type

public Type type

checked

public boolean checked
Constructor Detail

HasType

public HasType()

HasType

public HasType(Expression body,
               Type type,
               boolean checked)
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