add (minimal) default state models for 'dialog' and/or 'input'
the mode for the create default models, specified and other than 'minimal', a warning will be printed
INOUT parameter: the list of state model entries, to which the created default models will be added
this path to app's root directory
compile an SCXML file to exectuable scion statechart model
the SCXML definition as string
the path of the SCXML file (for debugging/error information)
the ScxmlLoadOptions with property mapping (list of ScxmlOptions)
the callback when SCXML compilation has been completed: callback(error | null, compiledStatechart, map, meta)
scxml currently does not correctly declare the datamodel variables -> fix this by injecting the datamodel variables by intercepting documentStringToModel.handleRawModule(url, rawModule, ...)
TODO detect if this fix is needed (e.g. when future versions of scion-scxml have fixed this internally)
Generated using TypeDoc
Prepares an scxml model for execution by binding it to an execution context
Callback to execute with the prepared model or an error The prepared model is a function to be passed into a SCION StateChart object
The execution context (e.g. v8 VM sandbox). If a vm.Context object is provided, then the compiled SCXML module code is evaluated in that context. Otherwise, if a regular object is provided, then the given object is "contextified", which means that it is passed to vm.createContext to create a new execution context. Object keys are exposed as global variables on the new context in which the generated SCXML module code is evaluated.
Context provided by the interpreter host