scion-core
Advanced tools
Comparing version 0.1.2 to 1.0.0
@@ -42,2 +42,16 @@ // Copyright 2011-2012 Jacob Beard, INFICON, and other SCION contributors | ||
var ioProcessorTypes = { | ||
'scxml': { | ||
location: 'http://www.w3.org/TR/scxml/#SCXMLEventProcessor' | ||
}, | ||
'basichttp': { | ||
location: 'http://www.w3.org/TR/scxml/#BasicHTTPEventProcessor' | ||
}, | ||
'dom': { | ||
location: 'http://www.w3.org/TR/scxml/#DOMEventProcessor' | ||
} | ||
}; | ||
var eventProcessorTypes = Object.keys(ioProcessorTypes).map(function(k){return ioProcessorTypes[k].location}); | ||
function initializeModel(rootState){ | ||
@@ -65,3 +79,3 @@ var transitions = [], idToStateMap = {}, documentOrder = 0; | ||
{ | ||
type : 'initial', | ||
$type : 'initial', | ||
transitions : [{ | ||
@@ -93,2 +107,4 @@ target : state | ||
var statesWithInitialAttributes = []; | ||
function traverse(ancestors,state){ | ||
@@ -108,3 +124,3 @@ | ||
//this way we can check for unsupported types below | ||
state.type = state.type || 'state'; | ||
state.$type = state.$type || 'state'; | ||
@@ -129,3 +145,3 @@ //add ancestors and depth properties | ||
//setup fast state type | ||
switch(state.type){ | ||
switch(state.$type){ | ||
case 'parallel': | ||
@@ -152,3 +168,3 @@ state.typeEnum = STATE_TYPES.PARALLEL; | ||
default : | ||
throw new Error('Unknown state type: ' + state.type); | ||
throw new Error('Unknown state type: ' + state.$type); | ||
} | ||
@@ -168,19 +184,13 @@ | ||
if(typeof state.initial === 'string'){ | ||
//dereference him from his | ||
initialChildren = state.states.filter(function(child){ | ||
return child.id === state.initial; | ||
}); | ||
if(initialChildren.length){ | ||
state.initialRef = initialChildren[0]; | ||
} | ||
statesWithInitialAttributes.push(state); | ||
}else{ | ||
//take the first child that has initial type, or first child | ||
initialChildren = state.states.filter(function(child){ | ||
return child.type === 'initial'; | ||
return child.$type === 'initial'; | ||
}); | ||
state.initialRef = initialChildren.length ? initialChildren[0] : state.states[0]; | ||
checkInitialRef(state); | ||
} | ||
if(!state.initialRef) throw new Error('Unable to locate initial state for composite state: ' + state.id); | ||
} | ||
@@ -193,3 +203,3 @@ | ||
var historyChildren = state.states.filter(function(s){ | ||
return s.type === 'history'; | ||
return s.$type === 'history'; | ||
}); | ||
@@ -202,3 +212,3 @@ | ||
if(!state.id){ | ||
state.id = generateId(state.type); | ||
state.id = generateId(state.$type); | ||
idToStateMap[state.id] = state; | ||
@@ -213,2 +223,12 @@ } | ||
function checkInitialRef(state){ | ||
if(!state.initialRef) throw new Error('Unable to locate initial state for composite state: ' + state.id); | ||
} | ||
function connectIntialAttributes(){ | ||
statesWithInitialAttributes.forEach(function(state){ | ||
state.initialRef = idToStateMap[state.initial]; | ||
checkInitialRef(state); | ||
}); | ||
} | ||
function connectTransitionGraph(){ | ||
@@ -304,2 +324,3 @@ //normalize as with onEntry/onExit | ||
connectTransitionGraph(); | ||
connectIntialAttributes(); | ||
@@ -471,3 +492,3 @@ return fakeRootState; | ||
var args = ['x','sessionid','name','ioprocessors']. | ||
var args = ['x','sessionid','ioprocessors']. | ||
map(function(name){ return opts.x['_' + name] = opts[name]; }). | ||
@@ -601,3 +622,2 @@ concat(interpreter.isIn.bind(interpreter)); | ||
var currentEvent = this._internalEventQueue.shift() || null; | ||
var selectedTransitions = this._performSmallStep(currentEvent); | ||
@@ -731,3 +751,7 @@ keepGoing = !selectedTransitions.isEmpty(); | ||
_evaluateAction : function(currentEvent, actionRef) { | ||
return actionRef.call(this._scriptingContext, currentEvent); //SCXML system variables | ||
try { | ||
return actionRef.call(this._scriptingContext, currentEvent); //SCXML system variables | ||
} catch (e){ | ||
this._internalEventQueue.push({"name":"error.execution",data : e}); | ||
} | ||
}, | ||
@@ -1058,6 +1082,13 @@ | ||
opts.ioprocessors = {}; | ||
//Create all supported Event I/O processor nodes. | ||
//TODO fix location after implementing actual processors | ||
Object.keys(ioProcessorTypes).forEach(function(processor){ | ||
opts.ioprocessors[processor] = ioProcessorTypes[processor]; | ||
}); | ||
opts.InterpreterScriptingContext = opts.InterpreterScriptingContext || InterpreterScriptingContext; | ||
this._isStepping = false; | ||
this._externalEventQueue = []; | ||
@@ -1080,10 +1111,10 @@ BaseInterpreter.call(this,model,opts); //call super constructor | ||
var e; | ||
var currentEvent; | ||
switch(typeof evtObjOrName){ | ||
case 'string': | ||
e = {name : evtObjOrName, data : optionalData}; | ||
currentEvent = {name : evtObjOrName, data : optionalData}; | ||
break; | ||
case 'object': | ||
if(typeof evtObjOrName.name === 'string'){ | ||
e = evtObjOrName; | ||
currentEvent = evtObjOrName; | ||
}else{ | ||
@@ -1097,15 +1128,8 @@ throw new Error('Event object must have "name" property of type string.'); | ||
this._externalEventQueue.push(e); | ||
if(this._isStepping) throw new Error('Cannot call gen during a big-step'); | ||
if(this._isStepping) return null; //we're already looping, we can exit and we'll process this event when the next big-step completes | ||
//otherwise, kick him off | ||
this._isStepping = true; | ||
var currentEvent; | ||
/*jsl:ignore*/ | ||
while(currentEvent = this._externalEventQueue.shift()){ | ||
/*jsl:end*/ | ||
this._performBigStep(currentEvent); | ||
} | ||
this._performBigStep(currentEvent); | ||
@@ -1127,2 +1151,6 @@ this._isStepping = false; | ||
send : function(event, options){ | ||
if(eventProcessorTypes.indexOf(event.type) === -1) { | ||
this.raise({ name : "error.execution", data: 'Unsupported event processor type', sendid: options.sendid }); | ||
} | ||
if(options.delay === undefined){ | ||
@@ -1133,3 +1161,3 @@ this.gen(event); | ||
if (printTrace) this._interpreter.opts.log("sending event", event.name, "with content", event.data, "after delay", options.delay); | ||
if (printTrace) this._interpreter.opts.console.log("sending event", event.name, "with content", event.data, "after delay", options.delay); | ||
@@ -1146,3 +1174,3 @@ var timeoutId = setTimeout(this._interpreter.gen.bind(this._interpreter,event), options.delay || 0); | ||
if (sendid in this._timeoutMap) { | ||
if (printTrace) this._interpreter.opts.log("cancelling ", sendid, " with timeout id ", this._timeoutMap[sendid]); | ||
if (printTrace) this._interpreter.opts.console.log("cancelling ", sendid, " with timeout id ", this._timeoutMap[sendid]); | ||
clearTimeout(this._timeoutMap[sendid]); | ||
@@ -1149,0 +1177,0 @@ } |
{ | ||
"name": "scion-core", | ||
"version": "0.1.2", | ||
"version": "1.0.0", | ||
"description": "StateCharts Interpretation and Optimization eNgine (SCION) CORE is an implementation of Statecharts in JavaScript.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -1,2 +0,2 @@ | ||
![Build status](https://travis-ci.org/jbeard4/SCION-CORE.svg?branch=master) | ||
[![Build status](https://travis-ci.org/jbeard4/SCION-CORE.svg?branch=master)](https://travis-ci.org/jbeard4/SCION-CORE) | ||
@@ -274,3 +274,3 @@ # Overview | ||
id : 'foo' | ||
type : 'parallel' | ||
$type : 'parallel' | ||
states : [ | ||
@@ -422,3 +422,3 @@ { | ||
id : 'h', | ||
type : 'history', | ||
$type : 'history', | ||
isDeep : true | ||
@@ -425,0 +425,0 @@ transitions : [ |
@@ -65,3 +65,3 @@ //Generated on Tuesday, June 17, 2014 21:23:24 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -68,0 +68,0 @@ { |
@@ -53,3 +53,3 @@ //Generated on Tuesday, June 17, 2014 21:23:24 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -56,0 +56,0 @@ { |
@@ -77,3 +77,3 @@ //Generated on Tuesday, June 17, 2014 21:23:24 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -80,0 +80,0 @@ { |
@@ -57,3 +57,3 @@ //Generated on Tuesday, June 17, 2014 21:23:24 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -72,3 +72,3 @@ { | ||
"id": "p", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -75,0 +75,0 @@ { |
@@ -89,3 +89,3 @@ //Generated on Tuesday, June 17, 2014 21:23:24 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -92,0 +92,0 @@ { |
@@ -49,3 +49,3 @@ //Generated on Tuesday, June 17, 2014 21:23:25 by the SCION SCXML compiler | ||
"name": "root", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -52,0 +52,0 @@ { |
@@ -57,3 +57,3 @@ //Generated on Tuesday, June 17, 2014 21:23:25 by the SCION SCXML compiler | ||
"name": "root", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -60,0 +60,0 @@ { |
@@ -57,3 +57,3 @@ //Generated on Tuesday, June 17, 2014 21:23:25 by the SCION SCXML compiler | ||
"name": "root", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -64,3 +64,3 @@ { | ||
{ | ||
"type": "initial", | ||
"$type": "initial", | ||
"transitions": [ | ||
@@ -67,0 +67,0 @@ { |
@@ -73,3 +73,3 @@ //Generated on Tuesday, June 17, 2014 21:23:25 by the SCION SCXML compiler | ||
"name": "root", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -80,3 +80,3 @@ { | ||
{ | ||
"type": "initial", | ||
"$type": "initial", | ||
"transitions": [ | ||
@@ -83,0 +83,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "a", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -6,0 +6,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -5,0 +5,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -5,0 +5,0 @@ { |
@@ -28,3 +28,3 @@ //Generated on Tuesday, June 17, 2014 21:23:25 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -31,0 +31,0 @@ { |
@@ -32,3 +32,3 @@ //Generated on Tuesday, June 17, 2014 21:23:25 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -35,0 +35,0 @@ { |
@@ -28,3 +28,3 @@ //Generated on Tuesday, June 17, 2014 21:23:26 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -31,0 +31,0 @@ { |
@@ -57,3 +57,3 @@ //Generated on Tuesday, June 17, 2014 21:23:25 by the SCION SCXML compiler | ||
"name": "root", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -155,3 +155,3 @@ { | ||
{ | ||
"type": "initial", | ||
"$type": "initial", | ||
"transitions": [ | ||
@@ -158,0 +158,0 @@ { |
@@ -26,3 +26,3 @@ //Generated on Tuesday, June 17, 2014 21:23:26 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -29,0 +29,0 @@ { |
@@ -27,3 +27,3 @@ //Generated on Tuesday, June 17, 2014 21:23:26 by the SCION SCXML compiler | ||
"initial": "a", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -30,0 +30,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -5,0 +5,0 @@ { |
@@ -141,3 +141,3 @@ //Generated on Tuesday, June 17, 2014 21:23:26 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -144,0 +144,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -5,0 +5,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -5,0 +5,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -5,0 +5,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -5,0 +5,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -5,0 +5,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "a", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -21,3 +21,3 @@ { | ||
"id": "h", | ||
"type": "history", | ||
"$type": "history", | ||
"transitions": [ | ||
@@ -24,0 +24,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "a", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -21,3 +21,3 @@ { | ||
"id": "h", | ||
"type": "history", | ||
"$type": "history", | ||
"isDeep": true, | ||
@@ -24,0 +24,0 @@ "transitions": [ |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "a", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -21,3 +21,3 @@ { | ||
"id": "h", | ||
"type": "history", | ||
"$type": "history", | ||
"isDeep": false, | ||
@@ -24,0 +24,0 @@ "transitions": [ |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "a", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -21,7 +21,7 @@ { | ||
"id": "p", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
{ | ||
"id": "h", | ||
"type": "history", | ||
"$type": "history", | ||
"isDeep": true, | ||
@@ -28,0 +28,0 @@ "transitions": [ |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "a", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -25,7 +25,7 @@ { | ||
"id": "p", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
{ | ||
"id": "hp", | ||
"type": "history", | ||
"$type": "history", | ||
"isDeep": true, | ||
@@ -44,3 +44,3 @@ "transitions": [ | ||
"id": "hb", | ||
"type": "history", | ||
"$type": "history", | ||
"isDeep": true, | ||
@@ -113,3 +113,3 @@ "transitions": [ | ||
"id": "hc", | ||
"type": "history", | ||
"$type": "history", | ||
"isDeep": false, | ||
@@ -116,0 +116,0 @@ "transitions": [ |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "a", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "a", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
{ | ||
"id": "ha", | ||
"type": "history", | ||
"$type": "history", | ||
"isDeep": true, | ||
@@ -22,15 +22,15 @@ "transitions": [ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
{ | ||
"id": "c", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
{ | ||
"id": "d", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
{ | ||
"id": "e", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -37,0 +37,0 @@ { |
@@ -91,3 +91,3 @@ //Generated on Tuesday, June 17, 2014 21:23:27 by the SCION SCXML compiler | ||
"initial": "a", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -113,3 +113,3 @@ { | ||
"id": "h", | ||
"type": "history", | ||
"$type": "history", | ||
"transitions": [ | ||
@@ -116,0 +116,0 @@ { |
@@ -345,3 +345,3 @@ //Generated on Tuesday, June 17, 2014 21:23:27 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -348,0 +348,0 @@ { |
@@ -70,3 +70,3 @@ //Generated on Tuesday, June 17, 2014 21:23:27 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"transitions": [ | ||
@@ -73,0 +73,0 @@ { |
@@ -110,7 +110,7 @@ //Generated on Tuesday, June 17, 2014 21:23:27 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "p", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"onEntry": $assign_line_27_column_47, | ||
@@ -117,0 +117,0 @@ "onExit": $assign_line_31_column_47, |
@@ -26,7 +26,7 @@ //Generated on Tuesday, June 17, 2014 21:23:27 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "p", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -33,0 +33,0 @@ { |
@@ -26,7 +26,7 @@ //Generated on Tuesday, June 17, 2014 21:23:28 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "p", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -33,0 +33,0 @@ { |
@@ -78,7 +78,7 @@ //Generated on Tuesday, June 17, 2014 21:23:28 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "p", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"onEntry": $assign_line_27_column_46, | ||
@@ -85,0 +85,0 @@ "onExit": $assign_line_30_column_47, |
@@ -26,7 +26,7 @@ //Generated on Tuesday, June 17, 2014 21:23:28 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "p", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -33,0 +33,0 @@ { |
@@ -26,7 +26,7 @@ //Generated on Tuesday, June 17, 2014 21:23:28 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "p", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -33,0 +33,0 @@ { |
@@ -26,7 +26,7 @@ //Generated on Tuesday, June 17, 2014 21:23:28 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "p", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -33,0 +33,0 @@ { |
@@ -26,7 +26,7 @@ //Generated on Tuesday, June 17, 2014 21:23:28 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "p", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -33,0 +33,0 @@ { |
@@ -26,7 +26,7 @@ //Generated on Tuesday, June 17, 2014 21:23:28 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "p", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -33,0 +33,0 @@ { |
@@ -26,7 +26,7 @@ //Generated on Tuesday, June 17, 2014 21:23:28 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "p", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -33,0 +33,0 @@ { |
@@ -26,3 +26,3 @@ //Generated on Tuesday, June 17, 2014 21:23:28 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -40,3 +40,3 @@ { | ||
"id": "p", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -43,0 +43,0 @@ { |
@@ -26,3 +26,3 @@ //Generated on Tuesday, June 17, 2014 21:23:28 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -43,3 +43,3 @@ { | ||
"id": "p", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -46,0 +46,0 @@ { |
@@ -26,3 +26,3 @@ //Generated on Tuesday, June 17, 2014 21:23:29 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -29,0 +29,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "p", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -9,0 +9,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "p", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -13,3 +13,3 @@ { | ||
{ | ||
"type": "initial", | ||
"$type": "initial", | ||
"transitions": [ | ||
@@ -39,3 +39,3 @@ { | ||
{ | ||
"type": "initial", | ||
"$type": "initial", | ||
"transitions": [ | ||
@@ -42,0 +42,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "p1", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -15,3 +15,3 @@ { | ||
"id": "p2", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -34,3 +34,3 @@ { | ||
"id": "p3", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -53,3 +53,3 @@ { | ||
"id": "p4", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -72,3 +72,3 @@ { | ||
"id": "p5", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -75,0 +75,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "p1", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "p1", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -16,3 +16,3 @@ { | ||
"id": "p2", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -44,3 +44,3 @@ { | ||
"id": "p3", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -63,3 +63,3 @@ { | ||
"id": "p4", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -82,3 +82,3 @@ { | ||
"id": "p5", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -85,0 +85,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "b", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -10,0 +10,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "b", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -10,0 +10,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "a", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -18,3 +18,3 @@ { | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -31,3 +31,3 @@ { | ||
"id": "c", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -34,0 +34,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "a", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -12,3 +12,3 @@ { | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -37,3 +37,3 @@ { | ||
"id": "c", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -40,0 +40,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "a", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -12,3 +12,3 @@ { | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -37,3 +37,3 @@ { | ||
"id": "c", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -40,0 +40,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "a", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -12,3 +12,3 @@ { | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -37,3 +37,3 @@ { | ||
"id": "c", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -40,0 +40,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "a", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "a", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
{ | ||
"id": "c", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
{ | ||
"id": "d", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
{ | ||
"id": "e", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -26,0 +26,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "a", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "a", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
{ | ||
"id": "c", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
{ | ||
"id": "d", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
{ | ||
"id": "e", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -26,0 +26,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "b", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -10,0 +10,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "b", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -10,0 +10,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "b", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -10,0 +10,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "b", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -10,0 +10,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "b", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -10,0 +10,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "b", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -10,0 +10,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "b", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -10,0 +10,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "b", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -10,0 +10,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "b", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -10,0 +10,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "b", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -10,0 +10,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "b", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -10,0 +10,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "b", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -10,0 +10,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "b", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -10,0 +10,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "b", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -10,0 +10,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "b", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -10,0 +10,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "b", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
{ | ||
"id": "c", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -14,0 +14,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "b", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -10,0 +10,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "b", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -10,0 +10,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "b", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
{ | ||
"id": "p", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -14,0 +14,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "b", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -30,3 +30,3 @@ { | ||
"id": "p", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -33,0 +33,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "b", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -30,3 +30,3 @@ { | ||
"id": "d", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -33,0 +33,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "b", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -21,3 +21,3 @@ { | ||
"id": "d", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -24,0 +24,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "a", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -12,3 +12,3 @@ { | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -31,3 +31,3 @@ { | ||
"id": "c", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -34,0 +34,0 @@ { |
{ | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"initial": "a", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -12,3 +12,3 @@ { | ||
"id": "b", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -31,3 +31,3 @@ { | ||
"id": "c", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"states": [ | ||
@@ -34,0 +34,0 @@ { |
@@ -37,3 +37,3 @@ //Generated on Tuesday, June 17, 2014 21:23:32 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -40,0 +40,0 @@ { |
@@ -45,3 +45,3 @@ //Generated on Tuesday, June 17, 2014 21:23:32 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -48,0 +48,0 @@ { |
@@ -61,3 +61,3 @@ //Generated on Tuesday, June 17, 2014 21:23:32 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -64,0 +64,0 @@ { |
@@ -26,3 +26,3 @@ //Generated on Tuesday, June 17, 2014 21:23:32 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -29,0 +29,0 @@ { |
@@ -26,3 +26,3 @@ //Generated on Tuesday, June 17, 2014 21:23:32 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -29,0 +29,0 @@ { |
@@ -26,3 +26,3 @@ //Generated on Tuesday, June 17, 2014 21:23:32 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -29,0 +29,0 @@ { |
@@ -161,3 +161,3 @@ //Generated on Tuesday, June 17, 2014 21:23:32 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -164,0 +164,0 @@ { |
@@ -46,3 +46,3 @@ //Generated on Tuesday, June 17, 2014 21:23:32 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -49,0 +49,0 @@ { |
@@ -54,3 +54,3 @@ //Generated on Tuesday, June 17, 2014 21:23:33 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -57,0 +57,0 @@ { |
@@ -62,3 +62,3 @@ //Generated on Tuesday, June 17, 2014 21:23:33 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
@@ -65,0 +65,0 @@ { |
@@ -102,7 +102,7 @@ //Generated on Tuesday, June 17, 2014 21:23:33 by the SCION SCXML compiler | ||
"": "http://www.w3.org/2005/07/scxml", | ||
"type": "scxml", | ||
"$type": "scxml", | ||
"states": [ | ||
{ | ||
"id": "p", | ||
"type": "parallel", | ||
"$type": "parallel", | ||
"transitions": [ | ||
@@ -109,0 +109,0 @@ { |
Sorry, the diff of this file is too big to display
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
21473
1
767958
213