public virtual object VisitQueryExpressionGroupVBClause(QueryExpressionGroupVBClause queryExpressionGroupVBClause, object data) {
			Debug.Assert((queryExpressionGroupVBClause != null));
			Debug.Assert((queryExpressionGroupVBClause.GroupVariables != null));
			Debug.Assert((queryExpressionGroupVBClause.ByVariables != null));
			Debug.Assert((queryExpressionGroupVBClause.IntoVariables != null));
			foreach (ExpressionRangeVariable o in queryExpressionGroupVBClause.GroupVariables) {
				Debug.Assert(o != null);
				o.AcceptVisitor(this, data);
			}
			foreach (ExpressionRangeVariable o in queryExpressionGroupVBClause.ByVariables) {
				Debug.Assert(o != null);
				o.AcceptVisitor(this, data);
			}
			foreach (ExpressionRangeVariable o in queryExpressionGroupVBClause.IntoVariables) {
				Debug.Assert(o != null);
				o.AcceptVisitor(this, data);
			}
			return null;
		}
		public virtual object VisitQueryExpressionGroupVBClause(QueryExpressionGroupVBClause queryExpressionGroupVBClause, object data) {
			throw new global::System.NotImplementedException("QueryExpressionGroupVBClause");
		}
		public virtual object VisitQueryExpressionGroupVBClause(QueryExpressionGroupVBClause queryExpressionGroupVBClause, object data) {
			Debug.Assert((queryExpressionGroupVBClause != null));
			Debug.Assert((queryExpressionGroupVBClause.GroupVariables != null));
			Debug.Assert((queryExpressionGroupVBClause.ByVariables != null));
			Debug.Assert((queryExpressionGroupVBClause.IntoVariables != null));
			for (int i = 0; i < queryExpressionGroupVBClause.GroupVariables.Count; i++) {
				ExpressionRangeVariable o = queryExpressionGroupVBClause.GroupVariables[i];
				Debug.Assert(o != null);
				nodeStack.Push(o);
				o.AcceptVisitor(this, data);
				o = (ExpressionRangeVariable)nodeStack.Pop();
				if (o == null)
					queryExpressionGroupVBClause.GroupVariables.RemoveAt(i--);
				else
					queryExpressionGroupVBClause.GroupVariables[i] = o;
			}
			for (int i = 0; i < queryExpressionGroupVBClause.ByVariables.Count; i++) {
				ExpressionRangeVariable o = queryExpressionGroupVBClause.ByVariables[i];
				Debug.Assert(o != null);
				nodeStack.Push(o);
				o.AcceptVisitor(this, data);
				o = (ExpressionRangeVariable)nodeStack.Pop();
				if (o == null)
					queryExpressionGroupVBClause.ByVariables.RemoveAt(i--);
				else
					queryExpressionGroupVBClause.ByVariables[i] = o;
			}
			for (int i = 0; i < queryExpressionGroupVBClause.IntoVariables.Count; i++) {
				ExpressionRangeVariable o = queryExpressionGroupVBClause.IntoVariables[i];
				Debug.Assert(o != null);
				nodeStack.Push(o);
				o.AcceptVisitor(this, data);
				o = (ExpressionRangeVariable)nodeStack.Pop();
				if (o == null)
					queryExpressionGroupVBClause.IntoVariables.RemoveAt(i--);
				else
					queryExpressionGroupVBClause.IntoVariables[i] = o;
			}
			return null;
		}
Example #4
0
	void GroupByQueryOperator(out QueryExpressionGroupVBClause groupByClause) {
		groupByClause = new QueryExpressionGroupVBClause();
		groupByClause.StartLocation = la.Location;

		Expect(133);
		ExpressionRangeVariableDeclarationList(groupByClause.GroupVariables);
		Expect(70);
		ExpressionRangeVariableDeclarationList(groupByClause.ByVariables);
		Expect(143);
		ExpressionRangeVariableDeclarationList(groupByClause.IntoVariables);
		groupByClause.EndLocation = t.EndLocation;

	}
		public sealed override object VisitQueryExpressionGroupVBClause(QueryExpressionGroupVBClause queryExpressionGroupVBClause, object data) {
			this.BeginVisit(queryExpressionGroupVBClause);
			object result = this.TrackedVisitQueryExpressionGroupVBClause(queryExpressionGroupVBClause, data);
			this.EndVisit(queryExpressionGroupVBClause);
			return result;
		}
		public virtual object TrackedVisitQueryExpressionGroupVBClause(QueryExpressionGroupVBClause queryExpressionGroupVBClause, object data) {
			return base.VisitQueryExpressionGroupVBClause(queryExpressionGroupVBClause, data);
		}