예제 #1
0
		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");
		}
예제 #3
0
		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;
		}
예제 #4
0
	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);

	}
예제 #5
0
		public sealed override object VisitQueryExpressionOrderClause(QueryExpressionOrderClause queryExpressionOrderClause, object data) {
			this.BeginVisit(queryExpressionOrderClause);
			object result = this.TrackedVisitQueryExpressionOrderClause(queryExpressionOrderClause, data);
			this.EndVisit(queryExpressionOrderClause);
			return result;
		}
예제 #6
0
		public virtual object TrackedVisitQueryExpressionOrderClause(QueryExpressionOrderClause queryExpressionOrderClause, object data) {
			return base.VisitQueryExpressionOrderClause(queryExpressionOrderClause, data);
		}