io.sarl.lang.sarl
Interface SarlCastedExpression
All Superinterfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.xtext.xbase.XCastedExpression, org.eclipse.xtext.xbase.XExpression
All Known Implementing Classes:
SarlCastedExpressionImpl
interface SarlCastedExpression
implements org.eclipse.xtext.xbase.XCastedExpression
A representation of the model object 'Casted Expression'.
Since:
0.9

The following features are supported:
See:
getSarlCastedExpression
Generated:
This element is generated by the SARL compiler.
Model:
This element is part of the metamodel.
Property Summary
Modifier and type Property and description
org.eclipse.xtext.xbase.XExpression argument
Returns the value of the 'Argument' reference.
org.eclipse.xtext.common.types.JvmOperation feature
Returns the value of the 'Feature' reference.
org.eclipse.xtext.xbase.XExpression receiver
Returns the value of the 'Receiver' reference.
Action Summary
Modifier and type Action and description
abstract org.eclipse.xtext.xbase.XExpression getArgument
Returns the value of the 'Argument' reference.
abstract org.eclipse.xtext.common.types.JvmOperation getFeature
Returns the value of the 'Feature' reference.
abstract org.eclipse.xtext.xbase.XExpression getReceiver
Returns the value of the 'Receiver' reference.
abstract void setArgument(XExpression)
Sets the value of the 'Argument' reference.
abstract void setFeature(JvmOperation)
Sets the value of the 'Feature' reference.
abstract void setReceiver(XExpression)
Sets the value of the 'Receiver' reference.
Property Details
argument
var argument : org.eclipse.xtext.xbase.XExpression
Returns the value of the 'Argument' reference. Provide the argument to pass to the feature, or null if the feature does not need to have argument.

This property is an alias for the action: getArgument

Returns:
the value of the ' Argument ' reference.
See:
setArgument(XExpression) , getSarlCastedExpression_Argument
Generated:
This element is generated by the SARL compiler.
Model:
This element is part of the metamodel.
feature
var feature : org.eclipse.xtext.common.types.JvmOperation
Returns the value of the 'Feature' reference. Provide the feature to call in casting the value to target type.

This property is an alias for the action: getFeature

Returns:
the value of the ' Feature ' reference.
See:
setFeature(JvmOperation) , getSarlCastedExpression_Feature
Generated:
This element is generated by the SARL compiler.
Model:
This element is part of the metamodel.
receiver
var receiver : org.eclipse.xtext.xbase.XExpression
Returns the value of the 'Receiver' reference. Provide the receiver for the call to the feature, or null if the default should be applied.

This property is an alias for the action: getReceiver

Returns:
the value of the ' Receiver ' reference.
See:
setReceiver(XExpression) , getSarlCastedExpression_Receiver
Generated:
This element is generated by the SARL compiler.
Model:
This element is part of the metamodel.
Action Details
getArgument
def getArgument : org.eclipse.xtext.xbase.XExpression
Returns the value of the 'Argument' reference. Provide the argument to pass to the feature, or null if the feature does not need to have argument.
Returns:
the value of the ' Argument ' reference.
See:
setArgument(XExpression) , getSarlCastedExpression_Argument
Generated:
This element is generated by the SARL compiler.
Model:
This element is part of the metamodel.
getFeature
def getFeature : org.eclipse.xtext.common.types.JvmOperation
Returns the value of the 'Feature' reference. Provide the feature to call in casting the value to target type.
Returns:
the value of the ' Feature ' reference.
See:
setFeature(JvmOperation) , getSarlCastedExpression_Feature
Generated:
This element is generated by the SARL compiler.
Model:
This element is part of the metamodel.
getReceiver
def getReceiver : org.eclipse.xtext.xbase.XExpression
Returns the value of the 'Receiver' reference. Provide the receiver for the call to the feature, or null if the default should be applied.
Returns:
the value of the ' Receiver ' reference.
See:
setReceiver(XExpression) , getSarlCastedExpression_Receiver
Generated:
This element is generated by the SARL compiler.
Model:
This element is part of the metamodel.
setArgument(XExpression)
def setArgument(XExpression)
Sets the value of the 'Argument' reference.
Parameters:
value - the new value of the 'Argument' reference.
See:
getArgument
Generated:
This element is generated by the SARL compiler.
setFeature(JvmOperation)
def setFeature(JvmOperation)
Sets the value of the 'Feature' reference.
Parameters:
value - the new value of the 'Feature' reference.
See:
getFeature
Generated:
This element is generated by the SARL compiler.
setReceiver(XExpression)
def setReceiver(XExpression)
Sets the value of the 'Receiver' reference.
Parameters:
value - the new value of the 'Receiver' reference.
See:
getReceiver
Generated:
This element is generated by the SARL compiler.