/** */ package org.xtext.xrobot.dsl.xRobotDSL; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; import org.eclipse.xtext.common.types.JvmFormalParameter; import org.eclipse.xtext.common.types.JvmTypeReference; import org.eclipse.xtext.xbase.XExpression; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Function</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link org.xtext.xrobot.dsl.xRobotDSL.Function#getReturnType <em>Return Type</em>}</li> * <li>{@link org.xtext.xrobot.dsl.xRobotDSL.Function#getName <em>Name</em>}</li> * <li>{@link org.xtext.xrobot.dsl.xRobotDSL.Function#getParameters <em>Parameters</em>}</li> * <li>{@link org.xtext.xrobot.dsl.xRobotDSL.Function#getBody <em>Body</em>}</li> * </ul> * * @see org.xtext.xrobot.dsl.xRobotDSL.XRobotDSLPackage#getFunction() * @model * @generated */ public interface Function extends EObject { /** * 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(JvmTypeReference) * @see org.xtext.xrobot.dsl.xRobotDSL.XRobotDSLPackage#getFunction_ReturnType() * @model containment="true" * @generated */ JvmTypeReference getReturnType(); /** * Sets the value of the '{@link org.xtext.xrobot.dsl.xRobotDSL.Function#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(JvmTypeReference value); /** * Returns the value of the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Name</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Name</em>' attribute. * @see #setName(String) * @see org.xtext.xrobot.dsl.xRobotDSL.XRobotDSLPackage#getFunction_Name() * @model * @generated */ String getName(); /** * Sets the value of the '{@link org.xtext.xrobot.dsl.xRobotDSL.Function#getName <em>Name</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Name</em>' attribute. * @see #getName() * @generated */ void setName(String value); /** * Returns the value of the '<em><b>Parameters</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.xtext.common.types.JvmFormalParameter}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>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>Parameters</em>' containment reference list. * @see org.xtext.xrobot.dsl.xRobotDSL.XRobotDSLPackage#getFunction_Parameters() * @model containment="true" * @generated */ EList<JvmFormalParameter> getParameters(); /** * Returns the value of the '<em><b>Body</b></em>' containment reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>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>Body</em>' containment reference. * @see #setBody(XExpression) * @see org.xtext.xrobot.dsl.xRobotDSL.XRobotDSLPackage#getFunction_Body() * @model containment="true" * @generated */ XExpression getBody(); /** * Sets the value of the '{@link org.xtext.xrobot.dsl.xRobotDSL.Function#getBody <em>Body</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Body</em>' containment reference. * @see #getBody() * @generated */ void setBody(XExpression value); } // Function