variables
KlasseFormalParameter

This class represents a formal parameter of a function.

Attribute
<Primitive Type> Boolean passedByReference passedByReference

This property is true if this parameter is passed by reference, it is false if it is passed by value.

<Class> Function surroundingFunction surroundingFunction

This property represents a reference to the function this formal parameter belongs to.

!!TableHeading.InheritedAttributes!!gast::variables::Variable gast::variables::Variable
type type, const const, typeDeclaration typeDeclaration

!!TableHeading.InheritedAttributes!!gast::core::NamedModelElement gast::core::NamedModelElement
simpleName simpleName

!!TableHeading.InheritedAttributes!!gast::core::SourceEntity gast::core::SourceEntity
position position

!!TableHeading.InheritedAttributes!!gast::core::ModelElement gast::core::ModelElement
annotations annotations, status status, uniqueId uniqueId

!!TableHeading.InheritedOperations!!gast::variables::Variable gast::variables::Variable

!!TableHeading.InheritedOperations!!gast::core::NamedModelElement gast::core::NamedModelElement

!!TableHeading.InheritedOperations!!gast::core::SourceEntity gast::core::SourceEntity

!!TableHeading.InheritedOperations!!gast::core::ModelElement gast::core::ModelElement

Eigenschaften:

Alias
Classifier Behavior
Is Abstractfalse
Is Activefalse
Is Leaffalse
Keywords
NameFormalParameter
Name Expression
Namespace<<ePackage>> <Package> variables
Owned Template Signature
Owner<<ePackage>> <Package> variables
Owning Template Parameter
Package<<ePackage>> <Package> variables
Qualified Namegast::variables::FormalParameter
Representation
Stereotype
Template Parameter
VisibilityPublic

Details für Attribute

 passedByReference
Public <Primitive Type> Boolean passedByReference

This property is true if this parameter is passed by reference, it is false if it is passed by value.

Eigenschaften:

AggregationNone
Alias
Association
Association End
Class<Class> FormalParameter
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower1
Lower Value
Multiplicity1
NamepassedByReference
Name Expression
Namespace<Class> FormalParameter
Opposite
Owned Template Signature
Owner<Class> FormalParameter
Owning Association
Owning Template Parameter
Qualified Namegast::variables::FormalParameter::passedByReference
Stereotype
Template Parameter
Type<Primitive Type> Boolean
Upper1
Upper Value
VisibilityPublic


 surroundingFunction
Public <Class> Function surroundingFunction

This property represents a reference to the function this formal parameter belongs to.

Eigenschaften:

AggregationNone
Alias
Association<Association> A_formalParameters_surroundingFunction
Association End
Class<Class> FormalParameter
Datatype
Default
Default Value
Is Compositefalse
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower1
Lower Value
Multiplicity1
NamesurroundingFunction
Name Expression
Namespace<Class> FormalParameter
Opposite<Property> formalParameters : FormalParameter [0..*]
Owned Template Signature
Owner<Class> FormalParameter
Owning Association
Owning Template Parameter
Qualified Namegast::variables::FormalParameter::surroundingFunction
Stereotype
Template Parameter
Type<Class> Function
Upper1
Upper Value
VisibilityPublic