/** | |
* <copyright> | |
* Copyright (c) 2009, 2010 Open Canarias, S.L. | |
* 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 | |
* | |
* </copyright> | |
*/ | |
package org.eclipse.modisco.omg.gastm; | |
import org.eclipse.emf.common.util.EList; | |
/** | |
* <!-- begin-user-doc --> | |
* A representation of the model object '<em><b>Function Definition</b></em>'. | |
* <!-- end-user-doc --> | |
* | |
* <p> | |
* The following features are supported: | |
* <ul> | |
* <li>{@link org.eclipse.modisco.omg.gastm.FunctionDefinition#getReturnType <em>Return Type</em>}</li> | |
* <li>{@link org.eclipse.modisco.omg.gastm.FunctionDefinition#getFormalParameters <em>Formal Parameters</em>}</li> | |
* <li>{@link org.eclipse.modisco.omg.gastm.FunctionDefinition#getBody <em>Body</em>}</li> | |
* <li>{@link org.eclipse.modisco.omg.gastm.FunctionDefinition#getFunctionMemberAttributes <em>Function Member Attributes</em>}</li> | |
* <li>{@link org.eclipse.modisco.omg.gastm.FunctionDefinition#getOpensScope <em>Opens Scope</em>}</li> | |
* </ul> | |
* </p> | |
* | |
* @see org.eclipse.modisco.omg.gastm.GASTMPackage#getFunctionDefinition() | |
* @model | |
* @generated | |
*/ | |
public interface FunctionDefinition extends Definition { | |
/** | |
* Returns the value of the '<em><b>Return Type</b></em>' containment reference. | |
* <!-- begin-user-doc --> | |
* <p> | |
* If the meaning of the '<em>Return Type</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>Return Type</em>' containment reference. | |
* @see #setReturnType(TypeReference) | |
* @see org.eclipse.modisco.omg.gastm.GASTMPackage#getFunctionDefinition_ReturnType() | |
* @model containment="true" | |
* @generated | |
*/ | |
TypeReference getReturnType(); | |
/** | |
* Sets the value of the '{@link org.eclipse.modisco.omg.gastm.FunctionDefinition#getReturnType <em>Return Type</em>}' containment reference. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @param value the new value of the '<em>Return Type</em>' containment reference. | |
* @see #getReturnType() | |
* @generated | |
*/ | |
void setReturnType(TypeReference value); | |
/** | |
* Returns the value of the '<em><b>Formal Parameters</b></em>' containment reference list. | |
* The list contents are of type {@link org.eclipse.modisco.omg.gastm.FormalParameterDefinition}. | |
* <!-- begin-user-doc --> | |
* <p> | |
* If the meaning of the '<em>Formal Parameters</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>Formal Parameters</em>' containment reference list. | |
* @see org.eclipse.modisco.omg.gastm.GASTMPackage#getFunctionDefinition_FormalParameters() | |
* @model containment="true" | |
* @generated | |
*/ | |
EList<FormalParameterDefinition> getFormalParameters(); | |
/** | |
* Returns the value of the '<em><b>Body</b></em>' containment reference list. | |
* The list contents are of type {@link org.eclipse.modisco.omg.gastm.Statement}. | |
* <!-- begin-user-doc --> | |
* <p> | |
* If the meaning of the '<em>Body</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>Body</em>' containment reference list. | |
* @see org.eclipse.modisco.omg.gastm.GASTMPackage#getFunctionDefinition_Body() | |
* @model containment="true" | |
* @generated | |
*/ | |
EList<Statement> getBody(); | |
/** | |
* Returns the value of the '<em><b>Function Member Attributes</b></em>' containment reference. | |
* <!-- begin-user-doc --> | |
* <p> | |
* If the meaning of the '<em>Function Member Attributes</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>Function Member Attributes</em>' containment reference. | |
* @see #setFunctionMemberAttributes(FunctionMemberAttributes) | |
* @see org.eclipse.modisco.omg.gastm.GASTMPackage#getFunctionDefinition_FunctionMemberAttributes() | |
* @model containment="true" | |
* @generated | |
*/ | |
FunctionMemberAttributes getFunctionMemberAttributes(); | |
/** | |
* Sets the value of the '{@link org.eclipse.modisco.omg.gastm.FunctionDefinition#getFunctionMemberAttributes <em>Function Member Attributes</em>}' containment reference. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @param value the new value of the '<em>Function Member Attributes</em>' containment reference. | |
* @see #getFunctionMemberAttributes() | |
* @generated | |
*/ | |
void setFunctionMemberAttributes(FunctionMemberAttributes value); | |
/** | |
* Returns the value of the '<em><b>Opens Scope</b></em>' reference. | |
* <!-- begin-user-doc --> | |
* <p> | |
* If the meaning of the '<em>Opens Scope</em>' reference isn't clear, | |
* there really should be more of a description here... | |
* </p> | |
* <!-- end-user-doc --> | |
* @return the value of the '<em>Opens Scope</em>' reference. | |
* @see #setOpensScope(FunctionScope) | |
* @see org.eclipse.modisco.omg.gastm.GASTMPackage#getFunctionDefinition_OpensScope() | |
* @model required="true" | |
* @generated | |
*/ | |
FunctionScope getOpensScope(); | |
/** | |
* Sets the value of the '{@link org.eclipse.modisco.omg.gastm.FunctionDefinition#getOpensScope <em>Opens Scope</em>}' reference. | |
* <!-- begin-user-doc --> | |
* <!-- end-user-doc --> | |
* @param value the new value of the '<em>Opens Scope</em>' reference. | |
* @see #getOpensScope() | |
* @generated | |
*/ | |
void setOpensScope(FunctionScope value); | |
} // FunctionDefinition |