jbeard4 / SCION

SCXML/Statecharts in JavaScript, moved to gitlab: https://gitlab.com/scion-scxml/scion
https://scion.scxml.io
Apache License 2.0
149 stars 29 forks source link

Add support for idlocation #334

Closed jbeard4 closed 9 years ago

jbeard4 commented 9 years ago

"Any location expression evaluating to a data model location in which a system-generated id can be stored. See below for details." "If 'idlocation' is present, the SCXML Processor must generate an id when the parent element is evaluated and store it in this location. See 3.14 IDs for details." "The ids for and are subtly different. In a conformant SCXML document, they must be unique within the session, but in the case where the author does not provide them, the processor must generate a new unique ID not at load time but each time the element is executed. Furthermore the attribute 'idlocation' can be used to capture this automatically generated id."