Interface UnaryExpression
- All Superinterfaces:
AdditiveExpressionChild
,AndExpressionChild
,AnnotationValue
,ArrayInitializationValue
,AssignmentExpressionChild
,Commentable
,ConditionalAndExpressionChild
,ConditionalExpressionChild
,ConditionalOrExpressionChild
,EObject
,EqualityExpressionChild
,ExclusiveOrExpressionChild
,Expression
,InclusiveOrExpressionChild
,InstanceOfExpressionChild
,LambdaBody
,MultiplicativeExpressionChild
,Notifier
,RelationExpressionChild
,ShiftExpressionChild
- All Known Implementing Classes:
UnaryExpressionImpl
A representation of the model object 'Unary Expression'.
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
-
Method Summary
Modifier and TypeMethodDescriptiongetChild()
Returns the value of the 'Child' containment reference.Returns the value of the 'Operators' containment reference list.void
setChild
(UnaryExpressionChild value) Sets the value of the 'Child
' containment reference.Methods inherited from interface org.emftext.language.java.commons.Commentable
addAfterContainingStatement, addBeforeContainingStatement, getAnnotationInterface, getChildrenByEType, getChildrenByType, getClassClass, getConcreteClassifier, getConcreteClassifiers, getContainingAnnotationInstance, getContainingAnonymousClass, getContainingCompilationUnit, getContainingConcreteClassifier, getContainingContainerName, getContainingPackageName, getFirstChildByEType, getFirstChildByType, getLayoutInformations, getLibClass, getLibInterface, getObjectClass, getParentByEType, getParentByType, getParentConcreteClassifier, getStringClass
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.emftext.language.java.expressions.Expression
getAlternativeType, getArrayDimension, getOneType, getOneTypeReference, getType
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getOperators
EList<UnaryOperator> getOperators()Returns the value of the 'Operators' containment reference list. The list contents are of typeUnaryOperator
.- Returns:
- the value of the 'Operators' containment reference list.
- See Also:
- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true"
-
getChild
UnaryExpressionChild getChild()Returns the value of the 'Child' containment reference.- Returns:
- the value of the 'Child' containment reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true" required="true"
-
setChild
Sets the value of the 'Child
' containment reference.- Parameters:
value
- the new value of the 'Child' containment reference.- See Also:
- Generated class or method.
-