statements
KlasseBranchStatement

This class models a branch, also known as selection statements or conditional statements. Typical examples are if statements or switch statements.

Attribute
<Class> Branch branches branches

This property represents a list of branches.

!!TableHeading.InheritedAttributes!!gast::statements::Statement gast::statements::Statement
accesses accesses, surroundingStatement surroundingStatement, numberOfStatements numberOfStatements, maximumNestingLevel maximumNestingLevel, numberOfComments numberOfComments, linesOfCode linesOfCode, numberOfEdgesInCFG numberOfEdgesInCFG, numberOfNodesInCFG numberOfNodesInCFG

!!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::statements::Statement gast::statements::Statement

!!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
NameBranchStatement
Name Expression
Namespace<<ePackage>> <Package> statements
Owned Template Signature
Owner<<ePackage>> <Package> statements
Owning Template Parameter
Package<<ePackage>> <Package> statements
Qualified Namegast::statements::BranchStatement
Representation
Stereotype
Template Parameter
VisibilityPublic

Details für Attribute

 branches
Public <Class> Branch branches

This property represents a list of branches.

Eigenschaften:

AggregationComposite
Alias
Association<Association> A_branches_branchStatement
Association End
Class<Class> BranchStatement
Datatype
Default
Default Value
Is Compositetrue
Is Derivedfalse
Is Derived Unionfalse
Is Leaffalse
Is Orderedfalse
Is Read Onlyfalse
Is Staticfalse
Is Uniquetrue
Keywords
Lower1
Lower Value<Literal Integer> 1
Multiplicity1..*
Namebranches
Name Expression
Namespace<Class> BranchStatement
Opposite
Owned Template Signature
Owner<Class> BranchStatement
Owning Association
Owning Template Parameter
Qualified Namegast::statements::BranchStatement::branches
Stereotype
Template Parameter
Type<Class> Branch
Upper*
Upper Value<Literal Unlimited Natural> *
VisibilityPublic