public virtual object VisitQueryExpressionOrderClause(QueryExpressionOrderClause queryExpressionOrderClause, object data) { Debug.Assert((queryExpressionOrderClause != null)); Debug.Assert((queryExpressionOrderClause.Orderings != null)); foreach (QueryExpressionOrdering o in queryExpressionOrderClause.Orderings) { Debug.Assert(o != null); o.AcceptVisitor(this, data); } return null; }
public virtual object VisitQueryExpressionOrderClause(QueryExpressionOrderClause queryExpressionOrderClause, object data) { throw new global::System.NotImplementedException("QueryExpressionOrderClause"); }
public virtual object VisitQueryExpressionOrderClause(QueryExpressionOrderClause queryExpressionOrderClause, object data) { Debug.Assert((queryExpressionOrderClause != null)); Debug.Assert((queryExpressionOrderClause.Orderings != null)); for (int i = 0; i < queryExpressionOrderClause.Orderings.Count; i++) { QueryExpressionOrdering o = queryExpressionOrderClause.Orderings[i]; Debug.Assert(o != null); nodeStack.Push(o); o.AcceptVisitor(this, data); o = (QueryExpressionOrdering)nodeStack.Pop(); if (o == null) queryExpressionOrderClause.Orderings.RemoveAt(i--); else queryExpressionOrderClause.Orderings[i] = o; } return null; }
void OrderByQueryOperator(List<QueryExpressionClause> middleClauses) { QueryExpressionOrderClause orderClause = new QueryExpressionOrderClause(); orderClause.StartLocation = la.Location; List<QueryExpressionOrdering> orderings = null; Expect(176); Expect(70); OrderExpressionList(out orderings); orderClause.Orderings = orderings; orderClause.EndLocation = t.EndLocation; middleClauses.Add(orderClause); }
public sealed override object VisitQueryExpressionOrderClause(QueryExpressionOrderClause queryExpressionOrderClause, object data) { this.BeginVisit(queryExpressionOrderClause); object result = this.TrackedVisitQueryExpressionOrderClause(queryExpressionOrderClause, data); this.EndVisit(queryExpressionOrderClause); return result; }
public virtual object TrackedVisitQueryExpressionOrderClause(QueryExpressionOrderClause queryExpressionOrderClause, object data) { return base.VisitQueryExpressionOrderClause(queryExpressionOrderClause, data); }