statements
KlasseJumpStatement

This class models all kinds of non-conditional jumps. Throwing of exceptions and return-statements are also categorized as non-conditional jumps.

Attribute
<Enumeration> JumpStatementKind kind kind

This property is a reference to the kind of the jump statement.

<Class> GASTExpression expression expression

This property represents a expression contained in this JumpStatement, e. g. body of a return statement, such as "a+b" in "return a+b;".

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

Details für Attribute

 expression
Public <Class> GASTExpression expression

This property represents a expression contained in this JumpStatement, e. g. body of a return statement, such as "a+b" in "return a+b;".

Eigenschaften:

AggregationComposite
Alias
Association<Association> A_expression_jumpStatement
Association End
Class<Class> JumpStatement
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
Multiplicity0..1
Nameexpression
Name Expression
Namespace<Class> JumpStatement
Opposite
Owned Template Signature
Owner<Class> JumpStatement
Owning Association
Owning Template Parameter
Qualified Namegast::statements::JumpStatement::expression
Stereotype
Template Parameter
Type<Class> GASTExpression
Upper1
Upper Value<Literal Unlimited Natural> 1
VisibilityPublic


 kind
Public <Enumeration> JumpStatementKind kind

This property is a reference to the kind of the jump statement.

Eigenschaften:

AggregationNone
Alias
Association
Association End
Class<Class> JumpStatement
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
Namekind
Name Expression
Namespace<Class> JumpStatement
Opposite
Owned Template Signature
Owner<Class> JumpStatement
Owning Association
Owning Template Parameter
Qualified Namegast::statements::JumpStatement::kind
Stereotype
Template Parameter
Type<Enumeration> JumpStatementKind
Upper1
Upper Value
VisibilityPublic