Package org.eclipse.gmt.modisco.java
Interface InfixExpression
- All Superinterfaces:
ASTNode,org.eclipse.emf.ecore.EObject,Expression,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
InfixExpressionImpl
public interface InfixExpression extends Expression
A representation of the model object 'Infix Expression'.
The following features are supported:
- See Also:
JavaPackage.getInfixExpression()
-
Method Summary
Modifier and Type Method Description org.eclipse.emf.common.util.EList<Expression>getExtendedOperands()Returns the value of the 'Extended Operands' containment reference list.ExpressiongetLeftOperand()Returns the value of the 'Left Operand' containment reference.InfixExpressionKindgetOperator()Returns the value of the 'Operator' attribute.ExpressiongetRightOperand()Returns the value of the 'Right Operand' containment reference.voidsetLeftOperand(Expression value)Sets the value of the 'Left Operand' containment reference.voidsetOperator(InfixExpressionKind value)Sets the value of the 'Operator' attribute.voidsetRightOperand(Expression value)Sets the value of the 'Right Operand' containment reference.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
InfixExpressionKind getOperator()Returns the value of the 'Operator' attribute. The literals are from the enumerationInfixExpressionKind.- Returns:
- the value of the 'Operator' attribute.
- See Also:
InfixExpressionKind,setOperator(InfixExpressionKind),JavaPackage.getInfixExpression_Operator()
-
setOperator
Sets the value of the 'Operator' attribute.- Parameters:
value- the new value of the 'Operator' attribute.- See Also:
InfixExpressionKind,getOperator()
-
getRightOperand
Expression getRightOperand()Returns the value of the 'Right Operand' containment reference.- Returns:
- the value of the 'Right Operand' containment reference.
- See Also:
setRightOperand(Expression),JavaPackage.getInfixExpression_RightOperand()
-
setRightOperand
Sets the value of the 'Right Operand' containment reference.- Parameters:
value- the new value of the 'Right Operand' containment reference.- See Also:
getRightOperand()
-
getLeftOperand
Expression getLeftOperand()Returns the value of the 'Left Operand' containment reference.- Returns:
- the value of the 'Left Operand' containment reference.
- See Also:
setLeftOperand(Expression),JavaPackage.getInfixExpression_LeftOperand()
-
setLeftOperand
Sets the value of the 'Left Operand' containment reference.- Parameters:
value- the new value of the 'Left Operand' containment reference.- See Also:
getLeftOperand()
-
getExtendedOperands
org.eclipse.emf.common.util.EList<Expression> getExtendedOperands()Returns the value of the 'Extended Operands' containment reference list. The list contents are of typeExpression.- Returns:
- the value of the 'Extended Operands' containment reference list.
- See Also:
JavaPackage.getInfixExpression_ExtendedOperands()
-