blob: d8e6495695968914db1937cf161f0705f2b882a2 [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;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Switch Statement</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link astm.SwitchStatement#getSwitchExpression <em>Switch Expression</em>}</li>
* <li>{@link astm.SwitchStatement#getCases <em>Cases</em>}</li>
* </ul>
*
* @see astm.AstmPackage#getSwitchStatement()
* @model
* @generated
*/
public interface SwitchStatement extends Statement {
/**
* Returns the value of the '<em><b>Switch Expression</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Switch Expression</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>Switch Expression</em>' containment reference.
* @see #setSwitchExpression(Expression)
* @see astm.AstmPackage#getSwitchStatement_SwitchExpression()
* @model containment="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://cs2as/tests/delphi/AS/1.0!SwitchStatement!switchExpression'"
* @generated
*/
Expression getSwitchExpression();
/**
* Sets the value of the '{@link astm.SwitchStatement#getSwitchExpression <em>Switch Expression</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Switch Expression</em>' containment reference.
* @see #getSwitchExpression()
* @generated
*/
void setSwitchExpression(Expression value);
/**
* Returns the value of the '<em><b>Cases</b></em>' containment reference list.
* The list contents are of type {@link astm.SwitchCase}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Cases</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Cases</em>' containment reference list.
* @see astm.AstmPackage#getSwitchStatement_Cases()
* @model containment="true"
* annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://cs2as/tests/delphi/AS/1.0!SwitchStatement!cases'"
* @generated
*/
EList<SwitchCase> getCases();
} // SwitchStatement