public virtual object TrackedVisitQueryExpressionPartitionVBClause(QueryExpressionPartitionVBClause queryExpressionPartitionVBClause, object data)
 {
     return base.VisitQueryExpressionPartitionVBClause(queryExpressionPartitionVBClause, data);
 }
 public override sealed object VisitQueryExpressionPartitionVBClause(QueryExpressionPartitionVBClause queryExpressionPartitionVBClause, object data)
 {
     this.BeginVisit(queryExpressionPartitionVBClause);
     object result = this.TrackedVisitQueryExpressionPartitionVBClause(queryExpressionPartitionVBClause, data);
     this.EndVisit(queryExpressionPartitionVBClause);
     return result;
 }
Пример #3
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 virtual object VisitQueryExpressionPartitionVBClause(QueryExpressionPartitionVBClause queryExpressionPartitionVBClause, object data)
 {
     throw new global::System.NotImplementedException("QueryExpressionPartitionVBClause");
 }
Пример #5
0
        void PartitionQueryOperator(out QueryExpressionPartitionVBClause partitionClause)
        {
            partitionClause = new QueryExpressionPartitionVBClause();
            partitionClause.StartLocation = la.Location;
            Expression expr = null;

            if (la.kind == 212) {
            Get();
            partitionClause.PartitionType = QueryExpressionPartitionType.Take;
            if (la.kind == 231) {
                Get();
                partitionClause.PartitionType = QueryExpressionPartitionType.TakeWhile;
            }
            } else if (la.kind == 203) {
            Get();
            partitionClause.PartitionType = QueryExpressionPartitionType.Skip;
            if (la.kind == 231) {
                Get();
                partitionClause.PartitionType = QueryExpressionPartitionType.SkipWhile;
            }
            } else SynErr(298);
            Expr(out expr);
            partitionClause.Expression = expr;
            partitionClause.EndLocation = t.EndLocation;
        }
 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;
 }