io.sarl.lang.typesystem.cast
Interface ICastOperatorLinkingCandidate
All Superinterfaces:
org.eclipse.xtext.xbase.typesystem.computation.IApplicableCandidate, org.eclipse.xtext.xbase.typesystem.computation.ILinkingCandidate
All Known Implementing Classes:
AmbiguousCastOperatorLinkingCandidate, CastOperatorLinkingCandidate, SuspiciousOverloadedCastOperatorLinkingCandidate
interface ICastOperatorLinkingCandidate
implements org.eclipse.xtext.xbase.typesystem.computation.ILinkingCandidate
Linking candidate for cast operator.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Since:
0.9
Property Summary
Modifier and type Property and description
org.eclipse.xtext.xbase.XExpression argument
Returns the argument that should be used for calling the feature.
org.eclipse.xtext.common.types.JvmOperation operation
Returns the feature that should be called in place of the cast operator.
org.eclipse.xtext.xbase.XExpression receiver
Returns the receiver that should be used for calling the feature.
Action Summary
Modifier and type Action and description
abstract org.eclipse.xtext.xbase.XExpression getArgument
Returns the argument that should be used for calling the feature.
abstract org.eclipse.xtext.common.types.JvmOperation getOperation
Returns the feature that should be called in place of the cast operator.
abstract org.eclipse.xtext.xbase.XExpression getReceiver
Returns the receiver that should be used for calling the feature.
Property Details
argument
val argument : org.eclipse.xtext.xbase.XExpression
Returns the argument that should be used for calling the feature.

This property is an alias for the action: getArgument

Returns:
the argument expression, or null if none.
operation
val operation : org.eclipse.xtext.common.types.JvmOperation
Returns the feature that should be called in place of the cast operator.

This property is an alias for the action: getOperation

Returns:
the feature.
receiver
val receiver : org.eclipse.xtext.xbase.XExpression
Returns the receiver that should be used for calling the feature.

This property is an alias for the action: getReceiver

Returns:
the receiver expression, or null if no receiver.
Action Details
getArgument
def getArgument : org.eclipse.xtext.xbase.XExpression
Returns the argument that should be used for calling the feature.
Returns:
the argument expression, or null if none.
getOperation
def getOperation : org.eclipse.xtext.common.types.JvmOperation
Returns the feature that should be called in place of the cast operator.
Returns:
the feature.
getReceiver
def getReceiver : org.eclipse.xtext.xbase.XExpression
Returns the receiver that should be used for calling the feature.
Returns:
the receiver expression, or null if no receiver.