|
| functions - UML-Dokumentation |
functions
KlasseFunction
This is the common supertype for any kind of function.
| Attribute |
| <Class> Statement | allStatements | |
| <Class> ThrowTypeAccess | throwTypeAccesses |
This property represents a list of ThrowTypeAccesses of this function.
|
| <Class> Access | accesses |
This property represents a list of all accesses, which are contained within this function, inclusive ThrowTypeAccesses and return type declarations. It is derived from the statements within the function body and from the signature.
|
| <Primitive Type> Unlimited Natural | numberOfStatements |
This property represents the number of statements within this function.
|
| <Primitive Type> Unlimited Natural | maximumNestingLevel |
This property represents the maximum nesting level of the control-flow structure within the function body, with respect to the depth of encapsulation of statements.
|
| <Primitive Type> Unlimited Natural | linesOfComments |
This property represents the number of comment lines in this function.
|
| <Primitive Type> Unlimited Natural | linesOfCode |
This property represents the number of code lines in this function.
|
| <Primitive Type> Unlimited Natural | numberOfEdgesInCFG |
This property represents the number of edges in the control-flow graph of the function.
|
| <Primitive Type> Unlimited Natural | numberOfNodesInCFG |
This property represents the number of nodes in the control-flow graph of the function.
|
| <Primitive Type> Boolean | operator |
This property is true if the function is an operator. Operators are modelled as functions and their usage is modelled as FunctionAccess.
|
| <Class> FormalParameter | formalParameters |
This property represents a list of the formal parameters of the function.
|
| <Class> BlockStatement | body |
This property represents a reference to the BlockStatement which contains the function body. This property can be empty in case of an abstract function.
|
| <Class> LocalVariable | localVariables |
This property represents a list of local variables declared within this function.
|
| <Class> GASTClass | localClasses |
This property represents a list of local classes which are declared within this function.
|
| <Class> CatchParameter | catchParameters |
This property represents a list of catch parameters which are handled within the function body.
|
| <Class> DeclarationTypeAccess | returnTypeDeclaration |
This property represents a TypeAccess which points to the declared return type of the function.
|
Eigenschaften:
| Alias | |
| Classifier Behavior | |
| Is Abstract | true |
| Is Active | false |
| Is Leaf | false |
| Keywords | |
| Name | Function |
| Name Expression | |
| Namespace | <<ePackage>> <Package> functions |
| Owned Template Signature | |
| Owner | <<ePackage>> <Package> functions |
| Owning Template Parameter | |
| Package | <<ePackage>> <Package> functions |
| Qualified Name | gast::functions::Function |
| Representation | |
| Stereotype | |
| Template Parameter | |
| Visibility | Public |
accesses
Public <Class> Access accesses
-
This property represents a list of all accesses, which are contained within this function, inclusive ThrowTypeAccesses and return type declarations. It is derived from the statements within the function body and from the signature.
-
Eigenschaften:
-
| Aggregation | None |
| Alias | |
| Association | |
| Association End | |
| Class | <Class> Function |
| Datatype | |
| Default | |
| Default Value | |
| Is Composite | false |
| Is Derived | true |
| Is Derived Union | false |
| Is Leaf | false |
| Is Ordered | false |
| Is Read Only | true |
| Is Static | false |
| Is Unique | true |
| isResolveProxies | True |
| isTransient | True |
| isUnsettable | False |
| isVolatile | True |
| Keywords | |
| Lower | 0 |
| Lower Value | <Literal Integer> 0 |
| Multiplicity | * |
| Name | accesses |
| Name Expression | |
| Namespace | <Class> Function |
| Opposite | |
| Owned Template Signature | |
| Owner | <Class> Function |
| Owning Association | |
| Owning Template Parameter | |
| Qualified Name | gast::functions::Function::accesses |
| referenceName | accesses |
| Stereotype | eReference |
| Template Parameter | |
| Type | <Class> Access |
| Upper | * |
| Upper Value | <Literal Unlimited Natural> * |
| visibility | 2 - ReadOnly |
| Visibility | Public |
| xmlFeatureKind | 0 - Unspecified |
| xmlName | |
| xmlNamespace | |
allStatements
Public <Class> Statement allStatements
-
Eigenschaften:
-
| Aggregation | None |
| Alias | |
| Association | |
| Association End | |
| Class | <Class> Function |
| Datatype | |
| Default | |
| Default Value | |
| Is Composite | false |
| Is Derived | true |
| Is Derived Union | false |
| Is Leaf | false |
| Is Ordered | false |
| Is Read Only | true |
| Is Static | false |
| Is Unique | true |
| isResolveProxies | True |
| isTransient | True |
| isUnsettable | False |
| isVolatile | True |
| Keywords | |
| Lower | 0 |
| Lower Value | <Literal Integer> 0 |
| Multiplicity | * |
| Name | allStatements |
| Name Expression | |
| Namespace | <Class> Function |
| Opposite | |
| Owned Template Signature | |
| Owner | <Class> Function |
| Owning Association | |
| Owning Template Parameter | |
| Qualified Name | gast::functions::Function::allStatements |
| referenceName | allStatements |
| Stereotype | eReference |
| Template Parameter | |
| Type | <Class> Statement |
| Upper | * |
| Upper Value | <Literal Unlimited Natural> * |
| visibility | 2 - ReadOnly |
| Visibility | Public |
| xmlFeatureKind | 0 - Unspecified |
| xmlName | |
| xmlNamespace | |
body
Public <Class> BlockStatement body
-
This property represents a reference to the BlockStatement which contains the function body. This property can be empty in case of an abstract function.
-
Eigenschaften:
-
| Aggregation | Composite |
| Alias | |
| Association | <Association> A_body_surroundingFunction |
| Association End | |
| Class | <Class> Function |
| Datatype | |
| Default | |
| Default Value | |
| Is Composite | true |
| Is Derived | false |
| Is Derived Union | false |
| Is Leaf | false |
| Is Ordered | false |
| Is Read Only | false |
| Is Static | false |
| Is Unique | true |
| Keywords | |
| Lower | 0 |
| Lower Value | <Literal Integer> 0 |
| Multiplicity | 0..1 |
| Name | body |
| Name Expression | |
| Namespace | <Class> Function |
| Opposite | <Property> surroundingFunction : Function |
| Owned Template Signature | |
| Owner | <Class> Function |
| Owning Association | |
| Owning Template Parameter | |
| Qualified Name | gast::functions::Function::body |
| Stereotype | |
| Template Parameter | |
| Type | <Class> BlockStatement |
| Upper | 1 |
| Upper Value | <Literal Unlimited Natural> 1 |
| Visibility | Public |
catchParameters
Public <Class> CatchParameter catchParameters
-
This property represents a list of catch parameters which are handled within the function body.
-
Eigenschaften:
-
| Aggregation | Composite |
| Alias | |
| Association | <Association> A_catchParameters_surroundingFunction |
| Association End | |
| Class | <Class> Function |
| Datatype | |
| Default | |
| Default Value | |
| Is Composite | true |
| Is Derived | false |
| Is Derived Union | false |
| Is Leaf | false |
| Is Ordered | false |
| Is Read Only | false |
| Is Static | false |
| Is Unique | true |
| Keywords | |
| Lower | 0 |
| Lower Value | <Literal Integer> 0 |
| Multiplicity | * |
| Name | catchParameters |
| Name Expression | |
| Namespace | <Class> Function |
| Opposite | <Property> surroundingFunction : Function |
| Owned Template Signature | |
| Owner | <Class> Function |
| Owning Association | |
| Owning Template Parameter | |
| Qualified Name | gast::functions::Function::catchParameters |
| Stereotype | |
| Template Parameter | |
| Type | <Class> CatchParameter |
| Upper | * |
| Upper Value | <Literal Unlimited Natural> * |
| Visibility | Public |
formalParameters
Public <Class> FormalParameter formalParameters
-
This property represents a list of the formal parameters of the function.
-
Eigenschaften:
-
| Aggregation | Composite |
| Alias | |
| Association | <Association> A_formalParameters_surroundingFunction |
| Association End | |
| Class | <Class> Function |
| Datatype | |
| Default | |
| Default Value | |
| Is Composite | true |
| Is Derived | false |
| Is Derived Union | false |
| Is Leaf | false |
| Is Ordered | false |
| Is Read Only | false |
| Is Static | false |
| Is Unique | true |
| Keywords | |
| Lower | 0 |
| Lower Value | <Literal Integer> 0 |
| Multiplicity | * |
| Name | formalParameters |
| Name Expression | |
| Namespace | <Class> Function |
| Opposite | <Property> surroundingFunction : Function |
| Owned Template Signature | |
| Owner | <Class> Function |
| Owning Association | |
| Owning Template Parameter | |
| Qualified Name | gast::functions::Function::formalParameters |
| Stereotype | |
| Template Parameter | |
| Type | <Class> FormalParameter |
| Upper | * |
| Upper Value | <Literal Unlimited Natural> * |
| Visibility | Public |
linesOfCode
Public <Primitive Type> Unlimited Natural linesOfCode
-
This property represents the number of code lines in this function.
-
Eigenschaften:
-
| Aggregation | None |
| Alias | |
| Association | |
| Association End | |
| Class | <Class> Function |
| Datatype | |
| Default | |
| Default Value | |
| Is Composite | false |
| Is Derived | false |
| Is Derived Union | false |
| Is Leaf | false |
| Is Ordered | false |
| Is Read Only | false |
| Is Static | false |
| Is Unique | true |
| Keywords | |
| Lower | 1 |
| Lower Value | |
| Multiplicity | 1 |
| Name | linesOfCode |
| Name Expression | |
| Namespace | <Class> Function |
| Opposite | |
| Owned Template Signature | |
| Owner | <Class> Function |
| Owning Association | |
| Owning Template Parameter | |
| Qualified Name | gast::functions::Function::linesOfCode |
| Stereotype | |
| Template Parameter | |
| Type | <Primitive Type> Unlimited Natural |
| Upper | 1 |
| Upper Value | |
| Visibility | Public |
linesOfComments
Public <Primitive Type> Unlimited Natural linesOfComments
-
This property represents the number of comment lines in this function.
-
Eigenschaften:
-
| Aggregation | None |
| Alias | |
| Association | |
| Association End | |
| Class | <Class> Function |
| Datatype | |
| Default | |
| Default Value | |
| Is Composite | false |
| Is Derived | false |
| Is Derived Union | false |
| Is Leaf | false |
| Is Ordered | false |
| Is Read Only | false |
| Is Static | false |
| Is Unique | true |
| Keywords | |
| Lower | 1 |
| Lower Value | |
| Multiplicity | 1 |
| Name | linesOfComments |
| Name Expression | |
| Namespace | <Class> Function |
| Opposite | |
| Owned Template Signature | |
| Owner | <Class> Function |
| Owning Association | |
| Owning Template Parameter | |
| Qualified Name | gast::functions::Function::linesOfComments |
| Stereotype | |
| Template Parameter | |
| Type | <Primitive Type> Unlimited Natural |
| Upper | 1 |
| Upper Value | |
| Visibility | Public |
localClasses
Public <Class> GASTClass localClasses
-
This property represents a list of local classes which are declared within this function.
-
Eigenschaften:
-
| Aggregation | Composite |
| Alias | |
| Association | <Association> A_localClasses_surroundingFunction |
| Association End | |
| Class | <Class> Function |
| Datatype | |
| Default | |
| Default Value | |
| Is Composite | true |
| Is Derived | false |
| Is Derived Union | false |
| Is Leaf | false |
| Is Ordered | false |
| Is Read Only | false |
| Is Static | false |
| Is Unique | true |
| Keywords | |
| Lower | 0 |
| Lower Value | <Literal Integer> 0 |
| Multiplicity | * |
| Name | localClasses |
| Name Expression | |
| Namespace | <Class> Function |
| Opposite | <Property> surroundingFunction : Function |
| Owned Template Signature | |
| Owner | <Class> Function |
| Owning Association | |
| Owning Template Parameter | |
| Qualified Name | gast::functions::Function::localClasses |
| Stereotype | |
| Template Parameter | |
| Type | <Class> GASTClass |
| Upper | * |
| Upper Value | <Literal Unlimited Natural> * |
| Visibility | Public |
localVariables
Public <Class> LocalVariable localVariables
-
This property represents a list of local variables declared within this function.
-
Eigenschaften:
-
| Aggregation | Composite |
| Alias | |
| Association | <Association> A_localVariables_surroundingFunction |
| Association End | |
| Class | <Class> Function |
| Datatype | |
| Default | |
| Default Value | |
| Is Composite | true |
| Is Derived | false |
| Is Derived Union | false |
| Is Leaf | false |
| Is Ordered | false |
| Is Read Only | false |
| Is Static | false |
| Is Unique | true |
| Keywords | |
| Lower | 0 |
| Lower Value | <Literal Integer> 0 |
| Multiplicity | * |
| Name | localVariables |
| Name Expression | |
| Namespace | <Class> Function |
| Opposite | <Property> surroundingFunction : Function |
| Owned Template Signature | |
| Owner | <Class> Function |
| Owning Association | |
| Owning Template Parameter | |
| Qualified Name | gast::functions::Function::localVariables |
| Stereotype | |
| Template Parameter | |
| Type | <Class> LocalVariable |
| Upper | * |
| Upper Value | <Literal Unlimited Natural> * |
| Visibility | Public |
maximumNestingLevel
Public <Primitive Type> Unlimited Natural maximumNestingLevel
-
This property represents the maximum nesting level of the control-flow structure within the function body, with respect to the depth of encapsulation of statements.
-
Eigenschaften:
-
| Aggregation | None |
| Alias | |
| Association | |
| Association End | |
| Class | <Class> Function |
| Datatype | |
| Default | |
| Default Value | |
| Is Composite | false |
| Is Derived | false |
| Is Derived Union | false |
| Is Leaf | false |
| Is Ordered | false |
| Is Read Only | false |
| Is Static | false |
| Is Unique | true |
| Keywords | |
| Lower | 1 |
| Lower Value | |
| Multiplicity | 1 |
| Name | maximumNestingLevel |
| Name Expression | |
| Namespace | <Class> Function |
| Opposite | |
| Owned Template Signature | |
| Owner | <Class> Function |
| Owning Association | |
| Owning Template Parameter | |
| Qualified Name | gast::functions::Function::maximumNestingLevel |
| Stereotype | |
| Template Parameter | |
| Type | <Primitive Type> Unlimited Natural |
| Upper | 1 |
| Upper Value | |
| Visibility | Public |
numberOfEdgesInCFG
Public <Primitive Type> Unlimited Natural numberOfEdgesInCFG
-
This property represents the number of edges in the control-flow graph of the function.
-
Eigenschaften:
-
| Aggregation | None |
| Alias | |
| Association | |
| Association End | |
| Class | <Class> Function |
| Datatype | |
| Default | |
| Default Value | |
| Is Composite | false |
| Is Derived | false |
| Is Derived Union | false |
| Is Leaf | false |
| Is Ordered | false |
| Is Read Only | false |
| Is Static | false |
| Is Unique | true |
| Keywords | |
| Lower | 1 |
| Lower Value | |
| Multiplicity | 1 |
| Name | numberOfEdgesInCFG |
| Name Expression | |
| Namespace | <Class> Function |
| Opposite | |
| Owned Template Signature | |
| Owner | <Class> Function |
| Owning Association | |
| Owning Template Parameter | |
| Qualified Name | gast::functions::Function::numberOfEdgesInCFG |
| Stereotype | |
| Template Parameter | |
| Type | <Primitive Type> Unlimited Natural |
| Upper | 1 |
| Upper Value | |
| Visibility | Public |
numberOfNodesInCFG
Public <Primitive Type> Unlimited Natural numberOfNodesInCFG
-
This property represents the number of nodes in the control-flow graph of the function.
-
Eigenschaften:
-
| Aggregation | None |
| Alias | |
| Association | |
| Association End | |
| Class | <Class> Function |
| Datatype | |
| Default | |
| Default Value | |
| Is Composite | false |
| Is Derived | false |
| Is Derived Union | false |
| Is Leaf | false |
| Is Ordered | false |
| Is Read Only | false |
| Is Static | false |
| Is Unique | true |
| Keywords | |
| Lower | 1 |
| Lower Value | |
| Multiplicity | 1 |
| Name | numberOfNodesInCFG |
| Name Expression | |
| Namespace | <Class> Function |
| Opposite | |
| Owned Template Signature | |
| Owner | <Class> Function |
| Owning Association | |
| Owning Template Parameter | |
| Qualified Name | gast::functions::Function::numberOfNodesInCFG |
| Stereotype | |
| Template Parameter | |
| Type | <Primitive Type> Unlimited Natural |
| Upper | 1 |
| Upper Value | |
| Visibility | Public |
numberOfStatements
Public <Primitive Type> Unlimited Natural numberOfStatements
-
This property represents the number of statements within this function.
-
Eigenschaften:
-
| Aggregation | None |
| Alias | |
| Association | |
| Association End | |
| Class | <Class> Function |
| Datatype | |
| Default | |
| Default Value | |
| Is Composite | false |
| Is Derived | false |
| Is Derived Union | false |
| Is Leaf | false |
| Is Ordered | false |
| Is Read Only | false |
| Is Static | false |
| Is Unique | true |
| Keywords | |
| Lower | 1 |
| Lower Value | |
| Multiplicity | 1 |
| Name | numberOfStatements |
| Name Expression | |
| Namespace | <Class> Function |
| Opposite | |
| Owned Template Signature | |
| Owner | <Class> Function |
| Owning Association | |
| Owning Template Parameter | |
| Qualified Name | gast::functions::Function::numberOfStatements |
| Stereotype | |
| Template Parameter | |
| Type | <Primitive Type> Unlimited Natural |
| Upper | 1 |
| Upper Value | |
| Visibility | Public |
operator
Public <Primitive Type> Boolean operator
-
This property is true if the function is an operator. Operators are modelled as functions and their usage is modelled as FunctionAccess.
-
Eigenschaften:
-
| Aggregation | None |
| Alias | |
| Association | |
| Association End | |
| Class | <Class> Function |
| Datatype | |
| Default | |
| Default Value | |
| Is Composite | false |
| Is Derived | false |
| Is Derived Union | false |
| Is Leaf | false |
| Is Ordered | false |
| Is Read Only | false |
| Is Static | false |
| Is Unique | true |
| Keywords | |
| Lower | 1 |
| Lower Value | |
| Multiplicity | 1 |
| Name | operator |
| Name Expression | |
| Namespace | <Class> Function |
| Opposite | |
| Owned Template Signature | |
| Owner | <Class> Function |
| Owning Association | |
| Owning Template Parameter | |
| Qualified Name | gast::functions::Function::operator |
| Stereotype | |
| Template Parameter | |
| Type | <Primitive Type> Boolean |
| Upper | 1 |
| Upper Value | |
| Visibility | Public |
returnTypeDeclaration
Public <Class> DeclarationTypeAccess returnTypeDeclaration
-
This property represents a TypeAccess which points to the declared return type of the function.
-
Eigenschaften:
-
| Aggregation | Composite |
| Alias | |
| Association | <Association> A_returnTypeDeclaration_function |
| Association End | |
| Class | <Class> Function |
| Datatype | |
| Default | |
| Default Value | |
| Is Composite | true |
| Is Derived | false |
| Is Derived Union | false |
| Is Leaf | false |
| Is Ordered | false |
| Is Read Only | false |
| Is Static | false |
| Is Unique | true |
| Keywords | |
| Lower | 0 |
| Lower Value | <Literal Integer> 0 |
| Multiplicity | 0..1 |
| Name | returnTypeDeclaration |
| Name Expression | |
| Namespace | <Class> Function |
| Opposite | <Property> function : Function |
| Owned Template Signature | |
| Owner | <Class> Function |
| Owning Association | |
| Owning Template Parameter | |
| Qualified Name | gast::functions::Function::returnTypeDeclaration |
| Stereotype | |
| Template Parameter | |
| Type | <Class> DeclarationTypeAccess |
| Upper | 1 |
| Upper Value | <Literal Unlimited Natural> 1 |
| Visibility | Public |
throwTypeAccesses
Public <Class> ThrowTypeAccess throwTypeAccesses
-
This property represents a list of ThrowTypeAccesses of this function.
-
Eigenschaften:
-
| Aggregation | None |
| Alias | |
| Association | |
| Association End | |
| Class | <Class> Function |
| Datatype | |
| Default | |
| Default Value | |
| Is Composite | false |
| Is Derived | false |
| Is Derived Union | false |
| Is Leaf | false |
| Is Ordered | false |
| Is Read Only | false |
| Is Static | false |
| Is Unique | true |
| Keywords | |
| Lower | 0 |
| Lower Value | <Literal Integer> 0 |
| Multiplicity | * |
| Name | throwTypeAccesses |
| Name Expression | |
| Namespace | <Class> Function |
| Opposite | |
| Owned Template Signature | |
| Owner | <Class> Function |
| Owning Association | |
| Owning Template Parameter | |
| Qualified Name | gast::functions::Function::throwTypeAccesses |
| Stereotype | |
| Template Parameter | |
| Type | <Class> ThrowTypeAccess |
| Upper | * |
| Upper Value | <Literal Unlimited Natural> * |
| Visibility | Public |
|
| functions - UML-Dokumentation |