blob: f3b18ca5d88605c3f5d0f81d4bb8033f10114d7d [file] [log] [blame]
/**
* Copyright (c) 2018 CEA LIST.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Arnault Lapitre (CEA LIST) arnault.lapitre@cea.fr
* - Initial API and Implementation
*/
package org.eclipse.efm.ecore.formalml.expression;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Binary Expression</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.efm.ecore.formalml.expression.BinaryExpression#getOperator <em>Operator</em>}</li>
* <li>{@link org.eclipse.efm.ecore.formalml.expression.BinaryExpression#getLeftOperand <em>Left Operand</em>}</li>
* <li>{@link org.eclipse.efm.ecore.formalml.expression.BinaryExpression#getRightOperand <em>Right Operand</em>}</li>
* </ul>
*
* @see org.eclipse.efm.ecore.formalml.expression.ExpressionPackage#getBinaryExpression()
* @model
* @generated
*/
public interface BinaryExpression extends Expression {
/**
* Returns the value of the '<em><b>Operator</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Operator</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Operator</em>' attribute.
* @see #setOperator(String)
* @see org.eclipse.efm.ecore.formalml.expression.ExpressionPackage#getBinaryExpression_Operator()
* @model required="true"
* @generated
*/
String getOperator();
/**
* Sets the value of the '{@link org.eclipse.efm.ecore.formalml.expression.BinaryExpression#getOperator <em>Operator</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Operator</em>' attribute.
* @see #getOperator()
* @generated
*/
void setOperator(String value);
/**
* Returns the value of the '<em><b>Left Operand</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Left Operand</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Left Operand</em>' containment reference.
* @see #setLeftOperand(Expression)
* @see org.eclipse.efm.ecore.formalml.expression.ExpressionPackage#getBinaryExpression_LeftOperand()
* @model containment="true" required="true"
* @generated
*/
Expression getLeftOperand();
/**
* Sets the value of the '{@link org.eclipse.efm.ecore.formalml.expression.BinaryExpression#getLeftOperand <em>Left Operand</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Left Operand</em>' containment reference.
* @see #getLeftOperand()
* @generated
*/
void setLeftOperand(Expression value);
/**
* Returns the value of the '<em><b>Right Operand</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Right Operand</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Right Operand</em>' containment reference.
* @see #setRightOperand(Expression)
* @see org.eclipse.efm.ecore.formalml.expression.ExpressionPackage#getBinaryExpression_RightOperand()
* @model containment="true" required="true"
* @generated
*/
Expression getRightOperand();
/**
* Sets the value of the '{@link org.eclipse.efm.ecore.formalml.expression.BinaryExpression#getRightOperand <em>Right Operand</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Right Operand</em>' containment reference.
* @see #getRightOperand()
* @generated
*/
void setRightOperand(Expression value);
} // BinaryExpression