KlasseAssignmentOperatorExpression

This class represents an expression formed by an assignment operation, e.g. a = b and a += b, where a is of an Lvalue type and b is of the Assignment type. The actual operation is stored as an attribute of this class.

Attribute
<Class> Lvalue left left

This attribute represents the left hand side of the assignment expression, i.e., in most cases the variable to which it is being assigned.

<Class> Assignment right right

This attribute specifies the expression, whose value is stored into the left hand side attribute of the assignment.

<Enumeration> AssignmentOperations operation operation

This attribute specifies the actual assignment operation, e.g. +=, -=, etc.

!!TableHeading.InheritedAttributes!!expressionsdecorator::Assignment expressionsdecorator::Assignment

!!TableHeading.InheritedAttributes!!expressionsdecorator::GASTExpressionProxy expressionsdecorator::GASTExpressionProxy

!!TableHeading.InheritedAttributes!!gast::statements::GASTExpression gast::statements::GASTExpression

!!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!!expressionsdecorator::Assignment expressionsdecorator::Assignment

!!TableHeading.InheritedOperations!!expressionsdecorator::GASTExpressionProxy expressionsdecorator::GASTExpressionProxy

!!TableHeading.InheritedOperations!!gast::statements::GASTExpression gast::statements::GASTExpression

!!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 Abstractfalse
Is Activefalse
Is Leaffalse
Keywords
NameAssignmentOperatorExpression
Name Expression
Namespace<<ePackage>> <Model> expressionsdecorator
Owned Template Signature
Owner<<ePackage>> <Model> expressionsdecorator
Owning Template Parameter
Package<<ePackage>> <Model> expressionsdecorator
Qualified Nameexpressionsdecorator::AssignmentOperatorExpression
Representation
Stereotype
Template Parameter
VisibilityPublic

Details für Attribute

 left
Public <Class> Lvalue left

This attribute represents the left hand side of the assignment expression, i.e., in most cases the variable to which it is being assigned.

Eigenschaften:

AggregationComposite
Alias
Association<Association> A_left_assignmentOperatorExpression
Association End
Class<Class> AssignmentOperatorExpression
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
Nameleft
Name Expression
Namespace<Class> AssignmentOperatorExpression
Opposite
Owned Template Signature
Owner<Class> AssignmentOperatorExpression
Owning Association
Owning Template Parameter
Qualified Nameexpressionsdecorator::AssignmentOperatorExpression::left
Stereotype
Template Parameter
Type<Class> Lvalue
Upper1
Upper Value<Literal Unlimited Natural> 1
VisibilityPublic


 operation
Public <Enumeration> AssignmentOperations operation

This attribute specifies the actual assignment operation, e.g. +=, -=, etc.

Eigenschaften:

AggregationNone
Alias
Association
Association End
Class<Class> AssignmentOperatorExpression
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
Nameoperation
Name Expression
Namespace<Class> AssignmentOperatorExpression
Opposite
Owned Template Signature
Owner<Class> AssignmentOperatorExpression
Owning Association
Owning Template Parameter
Qualified Nameexpressionsdecorator::AssignmentOperatorExpression::operation
Stereotype
Template Parameter
Type<Enumeration> AssignmentOperations
Upper1
Upper Value
VisibilityPublic


 right
Public <Class> Assignment right

This attribute specifies the expression, whose value is stored into the left hand side attribute of the assignment.

Eigenschaften:

AggregationComposite
Alias
Association<Association> A_right_assignmentOperatorExpression
Association End
Class<Class> AssignmentOperatorExpression
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
Nameright
Name Expression
Namespace<Class> AssignmentOperatorExpression
Opposite
Owned Template Signature
Owner<Class> AssignmentOperatorExpression
Owning Association
Owning Template Parameter
Qualified Nameexpressionsdecorator::AssignmentOperatorExpression::right
Stereotype
Template Parameter
Type<Class> Assignment
Upper1
Upper Value<Literal Unlimited Natural> 1
VisibilityPublic