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
public interface UnaryExpression extends MultiplicativeExpressionChild
A representation of the model object 'Unary Expression'.The following features are supported:
- See Also:
ExpressionsPackage.getUnaryExpression()- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UnaryExpressionChildgetChild()Returns the value of the 'Child' containment reference.EList<UnaryOperator>getOperators()Returns the value of the 'Operators' containment reference list.voidsetChild(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, getType
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
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:
ExpressionsPackage.getUnaryExpression_Operators()- 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:
setChild(UnaryExpressionChild),ExpressionsPackage.getUnaryExpression_Child()- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true" required="true"
-
setChild
void setChild(UnaryExpressionChild value)
Sets the value of the 'Child' containment reference.- Parameters:
value- the new value of the 'Child' containment reference.- See Also:
getChild()- Generated class or method.
-
-