| /** |
| * 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>If Statement</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link astm.IfStatement#getCondition <em>Condition</em>}</li> |
| * <li>{@link astm.IfStatement#getThenBody <em>Then Body</em>}</li> |
| * <li>{@link astm.IfStatement#getElseBody <em>Else Body</em>}</li> |
| * </ul> |
| * |
| * @see astm.AstmPackage#getIfStatement() |
| * @model |
| * @generated |
| */ |
| public interface IfStatement extends Statement { |
| /** |
| * Returns the value of the '<em><b>Condition</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Condition</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>Condition</em>' containment reference. |
| * @see #setCondition(Expression) |
| * @see astm.AstmPackage#getIfStatement_Condition() |
| * @model containment="true" |
| * annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://cs2as/tests/delphi/AS/1.0!IfStatement!condition'" |
| * @generated |
| */ |
| Expression getCondition(); |
| |
| /** |
| * Sets the value of the '{@link astm.IfStatement#getCondition <em>Condition</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Condition</em>' containment reference. |
| * @see #getCondition() |
| * @generated |
| */ |
| void setCondition(Expression value); |
| |
| /** |
| * Returns the value of the '<em><b>Then Body</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Then Body</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>Then Body</em>' containment reference. |
| * @see #setThenBody(Statement) |
| * @see astm.AstmPackage#getIfStatement_ThenBody() |
| * @model containment="true" |
| * annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://cs2as/tests/delphi/AS/1.0!IfStatement!thenBody'" |
| * @generated |
| */ |
| Statement getThenBody(); |
| |
| /** |
| * Sets the value of the '{@link astm.IfStatement#getThenBody <em>Then Body</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Then Body</em>' containment reference. |
| * @see #getThenBody() |
| * @generated |
| */ |
| void setThenBody(Statement value); |
| |
| /** |
| * Returns the value of the '<em><b>Else Body</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Else Body</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>Else Body</em>' containment reference. |
| * @see #setElseBody(Statement) |
| * @see astm.AstmPackage#getIfStatement_ElseBody() |
| * @model containment="true" |
| * annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://cs2as/tests/delphi/AS/1.0!IfStatement!elseBody'" |
| * @generated |
| */ |
| Statement getElseBody(); |
| |
| /** |
| * Sets the value of the '{@link astm.IfStatement#getElseBody <em>Else Body</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Else Body</em>' containment reference. |
| * @see #getElseBody() |
| * @generated |
| */ |
| void setElseBody(Statement value); |
| |
| } // IfStatement |