You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The standard optionally allows for the keyword in to be used when referring to a propagation in a condition expression, but OSATE does not allow the in keyword.
In section E.8, the standard has the error_condition_trigger grammar rule which allows the in keyword:
Naming rule (N47) describes the purpose of the in keyword: "The incoming error propagation reference of an error condition trigger must identify an error propagation in the component that contains the error condition expression. The keyword in is used to qualify the error propagation reference, if it conflicts with a defining identifier of an error state or error behavior event."
The following model shows the intended purpose of the in keyword. Look at the transitions refer_to_event and refer_to_propagation:
package missing_in
public
system s
features
conflict: feature;
annex EMV2 {**
use types ErrorLibrary;
use behavior missing_in::machine1;
error propagations
conflict: in propagation {ServiceError};
end propagations;
component error behavior
transitions
refer_to_event: state1 -[conflict]-> state2;
refer_to_propagation: state1 -[in conflict]-> state2;
end component;
**};
end s;
annex EMV2 {**
error behavior machine1
events
conflict: error event;
states
state1: initial state;
state2: state;
end behavior;
**};
end missing_in;
The text was updated successfully, but these errors were encountered:
The standard optionally allows for the keyword
in
to be used when referring to a propagation in a condition expression, but OSATE does not allow thein
keyword.In section E.8, the standard has the
error_condition_trigger
grammar rule which allows thein
keyword:Naming rule (N47) describes the purpose of the
in
keyword: "The incoming error propagation reference of an error condition trigger must identify an error propagation in the component that contains the error condition expression. The keyword in is used to qualify the error propagation reference, if it conflicts with a defining identifier of an error state or error behavior event."The following model shows the intended purpose of the
in
keyword. Look at the transitionsrefer_to_event
andrefer_to_propagation
:The text was updated successfully, but these errors were encountered: