Exemple #1
0
        public override Table VisitOrder_by_clause(QueryParser.Order_by_clauseContext context)
        {
            foreach (var item in context.order_item())
                _table = new OrderItemVisitor(_zmi, _table).Visit(item);

            return _table;
        }
 /// <summary>
 /// Visit a parse tree produced by <see cref="QueryParser.order_by_clause"/>.
 /// <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 VisitOrder_by_clause([NotNull] QueryParser.Order_by_clauseContext context)
 {
     return(VisitChildren(context));
 }