public virtual object VisitQueryExpressionPartitionVBClause(QueryExpressionPartitionVBClause queryExpressionPartitionVBClause, object data) {
			Debug.Assert((queryExpressionPartitionVBClause != null));
			Debug.Assert((queryExpressionPartitionVBClause.Expression != null));
			return queryExpressionPartitionVBClause.Expression.AcceptVisitor(this, data);
		}
		public sealed override object VisitQueryExpressionPartitionVBClause(QueryExpressionPartitionVBClause queryExpressionPartitionVBClause, object data) {
			this.BeginVisit(queryExpressionPartitionVBClause);
			object result = this.TrackedVisitQueryExpressionPartitionVBClause(queryExpressionPartitionVBClause, data);
			this.EndVisit(queryExpressionPartitionVBClause);
			return result;
		}
		public virtual object TrackedVisitQueryExpressionPartitionVBClause(QueryExpressionPartitionVBClause queryExpressionPartitionVBClause, object data) {
			return base.VisitQueryExpressionPartitionVBClause(queryExpressionPartitionVBClause, data);
		}
Exemple #4
0
	void PartitionQueryOperator(
#line  2173 "VBNET.ATG" 
out QueryExpressionPartitionVBClause partitionClause) {

#line  2175 "VBNET.ATG" 
		partitionClause = new QueryExpressionPartitionVBClause();
		partitionClause.StartLocation = la.Location;
		Expression expr = null;
		
		if (la.kind == 197) {
			lexer.NextToken();

#line  2179 "VBNET.ATG" 
			partitionClause.PartitionType = QueryExpressionPartitionType.Take; 
			if (la.kind == 216) {
				lexer.NextToken();

#line  2180 "VBNET.ATG" 
				partitionClause.PartitionType = QueryExpressionPartitionType.TakeWhile; 
			}
			Expr(
#line  2181 "VBNET.ATG" 
out expr);
		} else if (la.kind == 188) {
			lexer.NextToken();

#line  2182 "VBNET.ATG" 
			partitionClause.PartitionType = QueryExpressionPartitionType.Skip; 
			if (la.kind == 216) {
				lexer.NextToken();
			}

#line  2183 "VBNET.ATG" 
			partitionClause.PartitionType = QueryExpressionPartitionType.SkipWhile; 
			Expr(
#line  2184 "VBNET.ATG" 
out expr);

#line  2186 "VBNET.ATG" 
			partitionClause.Expression = expr;
			partitionClause.EndLocation = t.EndLocation;
			
		} else SynErr(266);
	}
		public virtual object VisitQueryExpressionPartitionVBClause(QueryExpressionPartitionVBClause queryExpressionPartitionVBClause, object data) {
			Debug.Assert((queryExpressionPartitionVBClause != null));
			Debug.Assert((queryExpressionPartitionVBClause.Expression != null));
			nodeStack.Push(queryExpressionPartitionVBClause.Expression);
			queryExpressionPartitionVBClause.Expression.AcceptVisitor(this, data);
			queryExpressionPartitionVBClause.Expression = ((Expression)(nodeStack.Pop()));
			return null;
		}
		public virtual object VisitQueryExpressionPartitionVBClause(QueryExpressionPartitionVBClause queryExpressionPartitionVBClause, object data) {
			throw new global::System.NotImplementedException("QueryExpressionPartitionVBClause");
		}