blob: 4057ccb3e74010b7f98dfbeea2b6ba07b1c257db [file] [log] [blame]
/**
* Copyright (c) 2016 Willink Transformations, Univesity of York and others.
* 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:
* Adolfo Sanchez-Barbudo Herrera - initial API and implementation
*/
package astm;
/**
* <!-- 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 astm.BinaryExpression#getOperator <em>Operator</em>}</li>
* <li>{@link astm.BinaryExpression#getLeftOperand <em>Left Operand</em>}</li>
* <li>{@link astm.BinaryExpression#getRightOperand <em>Right Operand</em>}</li>
* </ul>
*
* @see astm.AstmPackage#getBinaryExpression()
* @model
* @generated
*/
public interface BinaryExpression extends Expression {
/**
* Returns the value of the '<em><b>Operator</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Operator</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>Operator</em>' containment reference.
* @see #setOperator(OtherSyntaxObject)
* @see astm.AstmPackage#getBinaryExpression_Operator()
* @model containment="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://cs2as/tests/delphi/AS/1.0!BinaryExpression!operator'"
* @generated
*/
OtherSyntaxObject getOperator();
/**
* Sets the value of the '{@link astm.BinaryExpression#getOperator <em>Operator</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Operator</em>' containment reference.
* @see #getOperator()
* @generated
*/
void setOperator(OtherSyntaxObject 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 astm.AstmPackage#getBinaryExpression_LeftOperand()
* @model containment="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://cs2as/tests/delphi/AS/1.0!BinaryExpression!leftOperand'"
* @generated
*/
Expression getLeftOperand();
/**
* Sets the value of the '{@link astm.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 astm.AstmPackage#getBinaryExpression_RightOperand()
* @model containment="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://cs2as/tests/delphi/AS/1.0!BinaryExpression!rightOperand'"
* @generated
*/
Expression getRightOperand();
/**
* Sets the value of the '{@link astm.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