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

All Superinterfaces:
IConstraint, IExpression, INRLAstNode
All Known Implementing Classes:
CastExpressionImpl

public interface ICastExpression
extends IExpression

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

Abstract syntax reference: CastExpression ::= modelReference AS_A modelReference

Author:
Christian Nentwich

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-2013. All Rights Reserved.