net.sourceforge.nrl.parser.ast.constraints
Interface ICastExpression

All Superinterfaces:
IConstraint, IExpression, INRLAstNode

public interface ICastExpression
extends IExpression

An expression that converts a type to a sub-type.

Abstract syntax reference: CastExpression ::= modelReference AS_A modelReference


Field Summary
 
Fields inherited from interface net.sourceforge.nrl.parser.ast.INRLAstNode
NEWLINE
 
Method Summary
 IModelReference getReference()
          Return the source model reference to be cast.
 IModelElement getTargetType()
          Return the type being cast to.
 
Methods inherited from interface net.sourceforge.nrl.parser.ast.constraints.IConstraint
getNRLDataType, setNRLDataType
 
Methods inherited from interface net.sourceforge.nrl.parser.ast.INRLAstNode
accept, dump, getColumn, getLine, getUserData, setUserData
 

Method Detail

getReference

IModelReference getReference()
Return the source model reference to be cast.

Returns:
the reference

getTargetType

IModelElement getTargetType()
Return the type being cast to.

Returns:
the type


Copyright © 2006-2010 Christian Nentwich and others