statements
KlasseStatement

The Statement class is the root of the statement hierarchy and represents a statement, which can occur inside a function body. Non-local class declarations, imports and other object-oriented language statements, which cannot occur inside a function body, are not modelled.

Attribute
<Class> Access accesses accesses

This property represents a list of accesses within this statement.

<Class> Statement surroundingStatement surroundingStatement

This property represents a reference to the surrounding statement of this statement. If there is no surrounding statement this property is "null".

<Primitive Type> Unlimited Natural numberOfStatements numberOfStatements

This property represents the number of statements within this statement.

<Primitive Type> Unlimited Natural maximumNestingLevel maximumNestingLevel

This property represents the maximum nesting level of the control-flow structure within the statement, with respect to the depth of encapsulation of statements.

<Primitive Type> Unlimited Natural numberOfComments numberOfComments

This property represents the number of comments attached to this statement.

<Primitive Type> Unlimited Natural linesOfCode linesOfCode

This property represents the number of code lines that belong to this statement.

<Primitive Type> Unlimited Natural numberOfEdgesInCFG numberOfEdgesInCFG

This property represents the number of edges in the control-flow graph of the statement.

<Primitive Type> Unlimited Natural numberOfNodesInCFG numberOfNodesInCFG

This property represents the number of nodes in the control-flow graph of the statement.

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

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

!!TableHeading.InheritedAttributes!!gast::core::Identifier gast::core::Identifier
id id

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

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

!!TableHeading.InheritedOperations!!gast::core::Identifier gast::core::Identifier

Eigenschaften:

Alias
Classifier Behavior
Is Abstracttrue
Is Activefalse
Is Leaffalse
Keywords
NameStatement
Name Expression
Namespace<<ePackage>> <Package> statements
Owned Template Signature
Owner<<ePackage>> <Package> statements
Owning Template Parameter
Package<<ePackage>> <Package> statements
Qualified Namegast::statements::Statement
Representation
Stereotype
Template Parameter
VisibilityPublic

Details für Attribute

 accesses
Public <Class> Access accesses

This property represents a list of accesses within this statement.

Eigenschaften:

AggregationComposite
Alias
Association<Association> A_accesses_statement
Association End
Class<Class> Statement
Datatype
Default
Default Value
Is Compositetrue
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower0
Lower Value<Literal Integer> 0
Multiplicity*
Nameaccesses
Name Expression
Namespace<Class> Statement
Opposite
Owned Template Signature
Owner<Class> Statement
Owning Association
Owning Template Parameter
Qualified Namegast::statements::Statement::accesses
Stereotype
Template Parameter
Type<Class> Access
Upper*
Upper Value<Literal Unlimited Natural> *
VisibilityPublic


 linesOfCode
Public <Primitive Type> Unlimited Natural linesOfCode

This property represents the number of code lines that belong to this statement.

Eigenschaften:

AggregationNone
Alias
Association
Association End
Class<Class> Statement
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
NamelinesOfCode
Name Expression
Namespace<Class> Statement
Opposite
Owned Template Signature
Owner<Class> Statement
Owning Association
Owning Template Parameter
Qualified Namegast::statements::Statement::linesOfCode
Stereotype
Template Parameter
Type<Primitive Type> Unlimited Natural
Upper1
Upper Value
VisibilityPublic


 maximumNestingLevel
Public <Primitive Type> Unlimited Natural maximumNestingLevel

This property represents the maximum nesting level of the control-flow structure within the statement, with respect to the depth of encapsulation of statements.

Eigenschaften:

AggregationNone
Alias
Association
Association End
Class<Class> Statement
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
NamemaximumNestingLevel
Name Expression
Namespace<Class> Statement
Opposite
Owned Template Signature
Owner<Class> Statement
Owning Association
Owning Template Parameter
Qualified Namegast::statements::Statement::maximumNestingLevel
Stereotype
Template Parameter
Type<Primitive Type> Unlimited Natural
Upper1
Upper Value
VisibilityPublic


 numberOfComments
Public <Primitive Type> Unlimited Natural numberOfComments

This property represents the number of comments attached to this statement.

Eigenschaften:

AggregationNone
Alias
Association
Association End
Class<Class> Statement
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
NamenumberOfComments
Name Expression
Namespace<Class> Statement
Opposite
Owned Template Signature
Owner<Class> Statement
Owning Association
Owning Template Parameter
Qualified Namegast::statements::Statement::numberOfComments
Stereotype
Template Parameter
Type<Primitive Type> Unlimited Natural
Upper1
Upper Value
VisibilityPublic


 numberOfEdgesInCFG
Public <Primitive Type> Unlimited Natural numberOfEdgesInCFG

This property represents the number of edges in the control-flow graph of the statement.

Eigenschaften:

AggregationNone
Alias
Association
Association End
Class<Class> Statement
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
NamenumberOfEdgesInCFG
Name Expression
Namespace<Class> Statement
Opposite
Owned Template Signature
Owner<Class> Statement
Owning Association
Owning Template Parameter
Qualified Namegast::statements::Statement::numberOfEdgesInCFG
Stereotype
Template Parameter
Type<Primitive Type> Unlimited Natural
Upper1
Upper Value
VisibilityPublic


 numberOfNodesInCFG
Public <Primitive Type> Unlimited Natural numberOfNodesInCFG

This property represents the number of nodes in the control-flow graph of the statement.

Eigenschaften:

AggregationNone
Alias
Association
Association End
Class<Class> Statement
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
NamenumberOfNodesInCFG
Name Expression
Namespace<Class> Statement
Opposite
Owned Template Signature
Owner<Class> Statement
Owning Association
Owning Template Parameter
Qualified Namegast::statements::Statement::numberOfNodesInCFG
Stereotype
Template Parameter
Type<Primitive Type> Unlimited Natural
Upper1
Upper Value
VisibilityPublic


 numberOfStatements
Public <Primitive Type> Unlimited Natural numberOfStatements

This property represents the number of statements within this statement.

Eigenschaften:

AggregationNone
Alias
Association
Association End
Class<Class> Statement
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
NamenumberOfStatements
Name Expression
Namespace<Class> Statement
Opposite
Owned Template Signature
Owner<Class> Statement
Owning Association
Owning Template Parameter
Qualified Namegast::statements::Statement::numberOfStatements
Stereotype
Template Parameter
Type<Primitive Type> Unlimited Natural
Upper1
Upper Value
VisibilityPublic


 surroundingStatement
Public <Class> Statement surroundingStatement

This property represents a reference to the surrounding statement of this statement. If there is no surrounding statement this property is "null".

Eigenschaften:

AggregationNone
Alias
Association<Association> A_surroundingStatement_statement
Association End
Class<Class> Statement
Datatype
Default
Default Value
Is Compositefalse
Is Derivedtrue
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlytrue
Is Staticfalse
Is Uniquetrue
isResolveProxiesTrue
isTransientTrue
isUnsettableFalse
isVolatileTrue
Keywords
Lower0
Lower Value<Literal Integer> 0
Multiplicity0..1
NamesurroundingStatement
Name Expression
Namespace<Class> Statement
Opposite
Owned Template Signature
Owner<Class> Statement
Owning Association
Owning Template Parameter
Qualified Namegast::statements::Statement::surroundingStatement
referenceNamesurroundingStatement
StereotypeeReference
Template Parameter
Type<Class> Statement
Upper1
Upper Value<Literal Unlimited Natural> 1
visibility2 - ReadOnly
VisibilityPublic
xmlFeatureKind0 - Unspecified
xmlName
xmlNamespace