| /** |
| * 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 delphi; |
| |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>if Stmt</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link delphi.ifStmt#getCondition <em>Condition</em>}</li> |
| * <li>{@link delphi.ifStmt#getThen <em>Then</em>}</li> |
| * <li>{@link delphi.ifStmt#getElse <em>Else</em>}</li> |
| * </ul> |
| * |
| * @see delphi.DelphiPackage#getifStmt() |
| * @model |
| * @generated |
| */ |
| public interface ifStmt extends conditionalStmt { |
| /** |
| * 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 delphi.DelphiPackage#getifStmt_Condition() |
| * @model containment="true" |
| * @generated |
| */ |
| expression getCondition(); |
| |
| /** |
| * Sets the value of the '{@link delphi.ifStmt#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</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Then</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</em>' containment reference. |
| * @see #setThen(statement) |
| * @see delphi.DelphiPackage#getifStmt_Then() |
| * @model containment="true" |
| * @generated |
| */ |
| statement getThen(); |
| |
| /** |
| * Sets the value of the '{@link delphi.ifStmt#getThen <em>Then</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Then</em>' containment reference. |
| * @see #getThen() |
| * @generated |
| */ |
| void setThen(statement value); |
| |
| /** |
| * Returns the value of the '<em><b>Else</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Else</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</em>' containment reference. |
| * @see #setElse(statement) |
| * @see delphi.DelphiPackage#getifStmt_Else() |
| * @model containment="true" |
| * @generated |
| */ |
| statement getElse(); |
| |
| /** |
| * Sets the value of the '{@link delphi.ifStmt#getElse <em>Else</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Else</em>' containment reference. |
| * @see #getElse() |
| * @generated |
| */ |
| void setElse(statement value); |
| |
| } // ifStmt |