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
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