public Status(Status other) { statechart = other.statechart; b_configuration = new HashSet <int>(other.b_configuration); properties = new List <bool>(other.properties); events = new HashSet <SCEvent>(other.events); }
public CT(Statechart statechart, int source, ISet <long> waypoints, ISet <int> destinations) { this.statechart = statechart; this.source = source; this.waypoints = waypoints; this.destinations = destinations; }
public Status(Statechart statechart, HashSet <int> b_configuration, List <bool> properties) { this.statechart = statechart; this.b_configuration = b_configuration; this.properties = properties; events = new HashSet <SCEvent>(); }
internal static void StatechartAddStateNode(Statechart statechart, IStatenodeDefinition stateNode) => statechart.Statenodes.Add(stateNode.AsDefinition());
internal static void SetStatechartInitialContext(Statechart statechart, ECMAScriptContext initialContext) => statechart.InitialContext = initialContext.ToOption();
internal static void SetStatechartName(Statechart statechart, string name) => statechart.Name = name.ToOption();
internal static void SetStatechartInitial(Statechart statechart, string initialStateNode) => statechart.InitialStateNodeName = initialStateNode.ToOption();
public void Initialize(Statechart chart) { machine = chart; Awake(); }