/// <summary> /// arguments : /// argument(COMMA argument)* /// ; /// </summary> /// <param name="context"></param> /// <returns></returns> public override object VisitArguments([NotNull] WorkflowParser.ArgumentsContext context) { List <(string, string)> _list = new List <(string, string)>(); var args = context.argument(); foreach (var item in args) { var arg = ((string, string))VisitArgument(item); _list.Add(arg); } return(_list); }
/// <summary> /// Visit a parse tree produced by <see cref="WorkflowParser.arguments"/>. /// <para> /// The default implementation returns the result of calling <see cref="AbstractParseTreeVisitor{Result}.VisitChildren(IRuleNode)"/> /// on <paramref name="context"/>. /// </para> /// </summary> /// <param name="context">The parse tree.</param> /// <return>The visitor result.</return> public virtual Result VisitArguments([NotNull] WorkflowParser.ArgumentsContext context) { return(VisitChildren(context)); }
/// <summary> /// arguments : /// argument(COMMA argument)* /// ; /// </summary> /// <param name="context"></param> /// <returns></returns> public override object VisitArguments([NotNull] WorkflowParser.ArgumentsContext context) { return(base.VisitArguments(context)); }