示例#1
0
		public virtual object VisitQueryExpressionGroupJoinVBClause(QueryExpressionGroupJoinVBClause queryExpressionGroupJoinVBClause, object data) {
			Debug.Assert((queryExpressionGroupJoinVBClause != null));
			Debug.Assert((queryExpressionGroupJoinVBClause.JoinClause != null));
			Debug.Assert((queryExpressionGroupJoinVBClause.IntoVariables != null));
			queryExpressionGroupJoinVBClause.JoinClause.AcceptVisitor(this, data);
			foreach (ExpressionRangeVariable o in queryExpressionGroupJoinVBClause.IntoVariables) {
				Debug.Assert(o != null);
				o.AcceptVisitor(this, data);
			}
			return null;
		}
		public virtual object VisitQueryExpressionGroupJoinVBClause(QueryExpressionGroupJoinVBClause queryExpressionGroupJoinVBClause, object data) {
			throw new global::System.NotImplementedException("QueryExpressionGroupJoinVBClause");
		}
		public virtual object VisitQueryExpressionGroupJoinVBClause(QueryExpressionGroupJoinVBClause queryExpressionGroupJoinVBClause, object data) {
			Debug.Assert((queryExpressionGroupJoinVBClause != null));
			Debug.Assert((queryExpressionGroupJoinVBClause.JoinClause != null));
			Debug.Assert((queryExpressionGroupJoinVBClause.IntoVariables != null));
			nodeStack.Push(queryExpressionGroupJoinVBClause.JoinClause);
			queryExpressionGroupJoinVBClause.JoinClause.AcceptVisitor(this, data);
			queryExpressionGroupJoinVBClause.JoinClause = ((QueryExpressionJoinVBClause)(nodeStack.Pop()));
			for (int i = 0; i < queryExpressionGroupJoinVBClause.IntoVariables.Count; i++) {
				ExpressionRangeVariable o = queryExpressionGroupJoinVBClause.IntoVariables[i];
				Debug.Assert(o != null);
				nodeStack.Push(o);
				o.AcceptVisitor(this, data);
				o = (ExpressionRangeVariable)nodeStack.Pop();
				if (o == null)
					queryExpressionGroupJoinVBClause.IntoVariables.RemoveAt(i--);
				else
					queryExpressionGroupJoinVBClause.IntoVariables[i] = o;
			}
			return null;
		}
示例#4
0
	void GroupJoinQueryOperator(out QueryExpressionGroupJoinVBClause groupJoinClause) {
		groupJoinClause = new QueryExpressionGroupJoinVBClause();
		groupJoinClause.StartLocation = la.Location;
		QueryExpressionJoinVBClause joinClause = null;

		Expect(133);
		JoinQueryOperator(out joinClause);
		Expect(143);
		ExpressionRangeVariableDeclarationList(groupJoinClause.IntoVariables);
		groupJoinClause.JoinClause = joinClause;
			groupJoinClause.EndLocation = t.EndLocation;

	}
		public sealed override object VisitQueryExpressionGroupJoinVBClause(QueryExpressionGroupJoinVBClause queryExpressionGroupJoinVBClause, object data) {
			this.BeginVisit(queryExpressionGroupJoinVBClause);
			object result = this.TrackedVisitQueryExpressionGroupJoinVBClause(queryExpressionGroupJoinVBClause, data);
			this.EndVisit(queryExpressionGroupJoinVBClause);
			return result;
		}
		public virtual object TrackedVisitQueryExpressionGroupJoinVBClause(QueryExpressionGroupJoinVBClause queryExpressionGroupJoinVBClause, object data) {
			return base.VisitQueryExpressionGroupJoinVBClause(queryExpressionGroupJoinVBClause, data);
		}