public override object VisitArrayValue(GraphQLParser.ArrayValueContext context) { var values = context.value().Select(Visit).OfType <IValue>().ToList(); var list = new ListValue(values); NewNode(list, context); return(list); }
public override object VisitArrayValue(GraphQLParser.ArrayValueContext context) { return(context.array().GetText()); }
/// <summary> /// Exit a parse tree produced by the <c>arrayValue</c> /// labeled alternative in <see cref="GraphQLParser.value"/>. /// <para>The default implementation does nothing.</para> /// </summary> /// <param name="context">The parse tree.</param> public virtual void ExitArrayValue([NotNull] GraphQLParser.ArrayValueContext context) { }