org.eclipse.modisco.omg.gastm
Interface FunctionDefinition

All Superinterfaces:
DeclarationOrDefinition, Definition, DefinitionObject, GASTMObject, GASTMSyntaxObject

public interface FunctionDefinition
extends Definition

A representation of the model object 'Function Definition'.

The following features are supported:

See Also:
GASTMPackage.getFunctionDefinition()
Generated:
Model:

Method Summary
  getBody()
          Returns the value of the 'Body' containment reference list.
  getFormalParameters()
          Returns the value of the 'Formal Parameters' containment reference list.
 FunctionMemberAttributes getFunctionMemberAttributes()
          Returns the value of the 'Function Member Attributes' containment reference.
 FunctionScope getOpensScope()
          Returns the value of the 'Opens Scope' reference.
 TypeReference getReturnType()
          Returns the value of the 'Return Type' containment reference.
 void setFunctionMemberAttributes(FunctionMemberAttributes value)
          Sets the value of the 'Function Member Attributes' containment reference.
 void setOpensScope(FunctionScope value)
          Sets the value of the 'Opens Scope' reference.
 void setReturnType(TypeReference value)
          Sets the value of the 'Return Type' containment reference.
 
Methods inherited from interface org.eclipse.modisco.omg.gastm.Definition
getDefinitionType, getIdentifierName, setDefinitionType, setIdentifierName
 
Methods inherited from interface org.eclipse.modisco.omg.gastm.DeclarationOrDefinition
getAccessKind, getLinkageSpecifier, getStorageSpecifiers, setAccessKind, setLinkageSpecifier, setStorageSpecifiers
 
Methods inherited from interface org.eclipse.modisco.omg.gastm.GASTMSyntaxObject
getAnnotations, getLocationInfo, getPreProcessorElements, setLocationInfo
 

Method Detail

getReturnType

TypeReference getReturnType()
Returns the value of the 'Return Type' containment reference.

If the meaning of the 'Return Type' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Return Type' containment reference.
See Also:
setReturnType(TypeReference), GASTMPackage.getFunctionDefinition_ReturnType()
Generated:
Model:
containment="true"

setReturnType

void setReturnType(TypeReference value)
Sets the value of the 'Return Type' containment reference.

Parameters:
value - the new value of the 'Return Type' containment reference.
See Also:
getReturnType()
Generated:

getFormalParameters

 getFormalParameters()
Returns the value of the 'Formal Parameters' containment reference list. The list contents are of type FormalParameterDefinition.

If the meaning of the 'Formal Parameters' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Formal Parameters' containment reference list.
See Also:
GASTMPackage.getFunctionDefinition_FormalParameters()
Generated:
Model:
containment="true"

getBody

 getBody()
Returns the value of the 'Body' containment reference list. The list contents are of type Statement.

If the meaning of the 'Body' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Body' containment reference list.
See Also:
GASTMPackage.getFunctionDefinition_Body()
Generated:
Model:
containment="true"

getFunctionMemberAttributes

FunctionMemberAttributes getFunctionMemberAttributes()
Returns the value of the 'Function Member Attributes' containment reference.

If the meaning of the 'Function Member Attributes' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Function Member Attributes' containment reference.
See Also:
setFunctionMemberAttributes(FunctionMemberAttributes), GASTMPackage.getFunctionDefinition_FunctionMemberAttributes()
Generated:
Model:
containment="true"

setFunctionMemberAttributes

void setFunctionMemberAttributes(FunctionMemberAttributes value)
Sets the value of the 'Function Member Attributes' containment reference.

Parameters:
value - the new value of the 'Function Member Attributes' containment reference.
See Also:
getFunctionMemberAttributes()
Generated:

getOpensScope

FunctionScope getOpensScope()
Returns the value of the 'Opens Scope' reference.

If the meaning of the 'Opens Scope' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Opens Scope' reference.
See Also:
setOpensScope(FunctionScope), GASTMPackage.getFunctionDefinition_OpensScope()
Generated:
Model:
required="true"

setOpensScope

void setOpensScope(FunctionScope value)
Sets the value of the 'Opens Scope' reference.

Parameters:
value - the new value of the 'Opens Scope' reference.
See Also:
getOpensScope()
Generated: