Exemplo n.º 1
0
 public QueryBody(QueryBodyClause[] clauses, SelectOrGroupClause selectOrGroup, QueryContinuation continuation)
 {
     this.clauses = clauses;
     this.selectOrGroup = selectOrGroup;
     this.continuation = continuation;
 }
Exemplo n.º 2
0
 public abstract void Visit(QueryContinuation expression);
Exemplo n.º 3
0
 public QueryContinuation Update(QueryContinuation expression, Identifier identifier, QueryBody body)
 {
     if (expression.Identifier != identifier || expression.QueryBody != body)
         return new QueryContinuation(identifier, body);
     return expression;
 }
 public QueryBody(QueryBodyClause[] clauses, SelectOrGroupClause selectOrGroup, QueryContinuation continuation)
 {
     this.clauses       = clauses;
     this.selectOrGroup = selectOrGroup;
     this.continuation  = continuation;
 }
Exemplo n.º 5
0
 public QueryBody Update(QueryBody expression, IEnumerable<QueryBodyClause> clauses, QueryContinuation continuation, SelectOrGroupClause sogc)
 {
     if (expression.Clauses != clauses || expression.Continuation != continuation || expression.SelectOrGroup != sogc)
         return new QueryBody(new ClauseList(clauses), sogc, continuation);
     return expression;
 }