private void HandleResponse(PlanningParser.ResponseDefineContext context, IReadOnlyDictionary <string, Event> eventDict, StringDictionary assignment) { if (context.PARAMETER() != null) { ResponseEnumerator enumerator = new ResponseEnumerator(context, eventDict, _responseDict, assignment); Algorithms.IterativeScanMixedRadix(enumerator); } else { Response response = new Response(context, eventDict, assignment); _responseDict.Add(response.FullName, response); } }
public Response(PlanningParser.ResponseDefineContext context, IReadOnlyDictionary <string, Event> eventDict, StringDictionary assignment) : this(context, eventDict, assignment, Globals.EmptyConstArray) { }
public Response(PlanningParser.ResponseDefineContext context, IReadOnlyDictionary <string, Event> eventDict, StringDictionary assignment, string[] constArray) : base(constArray) { Name = context.responseSymbol().GetText(); EventModel = context.eventModel().GetEventModel(eventDict, assignment); }