상속: QueryExpressionClause
 public override object TrackedVisitQueryExpressionPartitionVBClause(QueryExpressionPartitionVBClause queryExpressionPartitionVBClause, object data)
 {
     return null;
 }
예제 #2
0
파일: Parser.cs 프로젝트: Altaxo/Altaxo
	void PartitionQueryOperator(
//#line  2470 "VBNET.ATG" 
out QueryExpressionPartitionVBClause partitionClause) {

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

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

//#line  2478 "VBNET.ATG" 
				partitionClause.PartitionType = QueryExpressionPartitionType.TakeWhile; 
			}
		} else if (la.kind == 203) {
			lexer.NextToken();

//#line  2479 "VBNET.ATG" 
			partitionClause.PartitionType = QueryExpressionPartitionType.Skip; 
			if (la.kind == 231) {
				lexer.NextToken();

//#line  2480 "VBNET.ATG" 
				partitionClause.PartitionType = QueryExpressionPartitionType.SkipWhile; 
			}
		} else SynErr(307);
		Expr(
//#line  2482 "VBNET.ATG" 
out expr);

//#line  2484 "VBNET.ATG" 
		partitionClause.Expression = expr;
		partitionClause.EndLocation = t.EndLocation;
		
	}
		public virtual object TrackedVisitQueryExpressionPartitionVBClause(QueryExpressionPartitionVBClause queryExpressionPartitionVBClause, object data) {
			return base.VisitQueryExpressionPartitionVBClause(queryExpressionPartitionVBClause, data);
		}
		public sealed override object VisitQueryExpressionPartitionVBClause(QueryExpressionPartitionVBClause queryExpressionPartitionVBClause, object data) {
			this.BeginVisit(queryExpressionPartitionVBClause);
			object result = this.TrackedVisitQueryExpressionPartitionVBClause(queryExpressionPartitionVBClause, data);
			this.EndVisit(queryExpressionPartitionVBClause);
			return result;
		}
예제 #5
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);
	}
예제 #6
0
		public virtual object VisitQueryExpressionPartitionVBClause(QueryExpressionPartitionVBClause queryExpressionPartitionVBClause, object data) {
			throw new global::System.NotImplementedException("QueryExpressionPartitionVBClause");
		}
예제 #7
0
	void PartitionQueryOperator(
#line  2477 "VBNET.ATG" 
out QueryExpressionPartitionVBClause partitionClause) {

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

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

#line  2485 "VBNET.ATG" 
				partitionClause.PartitionType = QueryExpressionPartitionType.TakeWhile; 
			}
		} else if (la.kind == 206) {
			lexer.NextToken();

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

#line  2487 "VBNET.ATG" 
				partitionClause.PartitionType = QueryExpressionPartitionType.SkipWhile; 
			}
		} else SynErr(311);
		Expr(
#line  2489 "VBNET.ATG" 
out expr);

#line  2491 "VBNET.ATG" 
		partitionClause.Expression = expr;
		partitionClause.EndLocation = t.EndLocation;
		
	}
예제 #8
0
		public object VisitQueryExpressionPartitionVBClause(QueryExpressionPartitionVBClause queryExpressionPartitionVBClause, object data)
		{
			AddError(queryExpressionPartitionVBClause, "QueryExpressionPartitionVBClause is not supported.");
			return null;
		}
		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;
		}
예제 #10
0
 public virtual object VisitQueryExpressionPartitionVBClause(QueryExpressionPartitionVBClause queryExpressionPartitionVBClause, object data) {
     throw CreateException(queryExpressionPartitionVBClause);
 }
예제 #11
0
 public virtual object VisitQueryExpressionPartitionVBClause(QueryExpressionPartitionVBClause queryExpressionPartitionVBClause, object data)
 {
     Debug.Assert((queryExpressionPartitionVBClause != null));
     Debug.Assert((queryExpressionPartitionVBClause.Expression != null));
     return queryExpressionPartitionVBClause.Expression.AcceptVisitor(this, data);
 }
 public object VisitQueryExpressionPartitionVBClause(QueryExpressionPartitionVBClause queryExpressionPartitionVBClause, object data)
 {
     throw new NotImplementedException ();
 }
 public virtual bool VisitQueryExpressionPartitionVBClause(QueryExpressionPartitionVBClause queryExpressionPartitionVBClause, object d)
 {
     if ((queryExpressionPartitionVBClause == null)) {
         return SetFailure();
     }
     if ((d == null)) {
         return SetFailure();
     }
     if ((queryExpressionPartitionVBClause.Expression == null)) {
         return SetFailure();
     }
     if(queryExpressionPartitionVBClause.GetType() != d.GetType()) {return SetFailure();}
     var data = (QueryExpressionPartitionVBClause)d;
     if (!IsMatch(queryExpressionPartitionVBClause, data)) {
         return SetFailure();
     }
     return queryExpressionPartitionVBClause.Expression.AcceptVisitor(this, data.Expression);
 }
예제 #14
0
		public override object VisitQueryExpressionPartitionVBClause(QueryExpressionPartitionVBClause queryExpressionPartitionVBClause, object data)
		{
			return base.VisitQueryExpressionPartitionVBClause(queryExpressionPartitionVBClause, data);
		}
 private bool IsMatch(QueryExpressionPartitionVBClause left, QueryExpressionPartitionVBClause right)
 {
     return false;
 }