Package org.eclipse.gmt.modisco.java
Interface PostfixExpression
- All Superinterfaces:
ASTNode,org.eclipse.emf.ecore.EObject,Expression,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
PostfixExpressionImpl
public interface PostfixExpression extends Expression
A representation of the model object 'Postfix Expression'.
The following features are supported:
- See Also:
JavaPackage.getPostfixExpression()
-
Method Summary
Modifier and Type Method Description ExpressiongetOperand()Returns the value of the 'Operand' containment reference.PostfixExpressionKindgetOperator()Returns the value of the 'Operator' attribute.voidsetOperand(Expression value)Sets the value of the 'Operand' containment reference.voidsetOperator(PostfixExpressionKind value)Sets the value of the 'Operator' attribute.Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getOperator
PostfixExpressionKind getOperator()Returns the value of the 'Operator' attribute. The literals are from the enumerationPostfixExpressionKind.- Returns:
- the value of the 'Operator' attribute.
- See Also:
PostfixExpressionKind,setOperator(PostfixExpressionKind),JavaPackage.getPostfixExpression_Operator()
-
setOperator
Sets the value of the 'Operator' attribute.- Parameters:
value- the new value of the 'Operator' attribute.- See Also:
PostfixExpressionKind,getOperator()
-
getOperand
Expression getOperand()Returns the value of the 'Operand' containment reference.- Returns:
- the value of the 'Operand' containment reference.
- See Also:
setOperand(Expression),JavaPackage.getPostfixExpression_Operand()
-
setOperand
Sets the value of the 'Operand' containment reference.- Parameters:
value- the new value of the 'Operand' containment reference.- See Also:
getOperand()
-