1234567891011121314151617181920212223242526272829303132333435 |
- <?xml version="1.0" ?>
- <test>
- <statechart>
- <semantics
- big_step_maximality="take_one"
- input_event_lifeline="whole"
- assignment_memory_protocol="big_step"/>
- <datamodel>
- x = 0;
- </datamodel>
- <root>
- <!-- both transitions execute in the same big step, both writing to 'x' (one overwriting the other's result) -->
- <parallel id="p">
- <state id="a">
- <state id="a1">
- <transition port="in" event="e" target=".">
- <code> x += 1; </code>
- </transition>
- </state>
- </state>
- <state id="b">
- <state id="a1">
- <transition port="in" event="e" target=".">
- <code> x += 1; </code>
- </transition>
- </state>
- </state>
- </parallel>
- </root>
- </statechart>
- <input>
- <event port="in" name="e" time="0 d"/>
- </input>
- </test>
|