blob: 3b0ed2dcf5483b9bd467ee3c959d4564c2e122dc [file] [log] [blame]
/**
* Copyright (c) 2020 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\n\nContributors:
* 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>Unary Expression</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.efm.ecore.formalml.expression.UnaryExpression#getOperator <em>Operator</em>}</li>
* <li>{@link org.eclipse.efm.ecore.formalml.expression.UnaryExpression#getOperand <em>Operand</em>}</li>
* </ul>
*
* @see org.eclipse.efm.ecore.formalml.expression.ExpressionPackage#getUnaryExpression()
* @model
* @generated
*/
public interface UnaryExpression extends Expression {
/**
* Returns the value of the '<em><b>Operator</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Operator</em>' attribute.
* @see #setOperator(String)
* @see org.eclipse.efm.ecore.formalml.expression.ExpressionPackage#getUnaryExpression_Operator()
* @model required="true"
* @generated
*/
String getOperator();
/**
* Sets the value of the '{@link org.eclipse.efm.ecore.formalml.expression.UnaryExpression#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>Operand</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Operand</em>' containment reference.
* @see #setOperand(Expression)
* @see org.eclipse.efm.ecore.formalml.expression.ExpressionPackage#getUnaryExpression_Operand()
* @model containment="true" required="true"
* @generated
*/
Expression getOperand();
/**
* Sets the value of the '{@link org.eclipse.efm.ecore.formalml.expression.UnaryExpression#getOperand <em>Operand</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Operand</em>' containment reference.
* @see #getOperand()
* @generated
*/
void setOperand(Expression value);
} // UnaryExpression