blob: ca0ca65a486fb5e0ab3a065581f5c393fdcc5f9f [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>Unary Expression</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link astm.UnaryExpression#getOperator <em>Operator</em>}</li>
* <li>{@link astm.UnaryExpression#getOperand <em>Operand</em>}</li>
* </ul>
*
* @see astm.AstmPackage#getUnaryExpression()
* @model
* @generated
*/
public interface UnaryExpression 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#getUnaryExpression_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!UnaryExpression!operator'"
* @generated
*/
OtherSyntaxObject getOperator();
/**
* Sets the value of the '{@link astm.UnaryExpression#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>Operand</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>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>Operand</em>' containment reference.
* @see #setOperand(Expression)
* @see astm.AstmPackage#getUnaryExpression_Operand()
* @model containment="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://cs2as/tests/delphi/AS/1.0!UnaryExpression!operand'"
* @generated
*/
Expression getOperand();
/**
* Sets the value of the '{@link astm.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