public virtual void VisitQueryBody(QueryBodySyntax node)
 {
     DefaultVisit(node);
 }
Esempio n. 2
0
        public static QueryExpressionSyntax QueryExpression(FromClauseSyntax fromClause = null, QueryBodySyntax body = null)
        {
            var result = new QueryExpressionSyntax();

            result.FromClause = fromClause;
            result.Body = body;

            return result;
        }
Esempio n. 3
0
        public static QueryContinuationSyntax QueryContinuation(string identifier = null, QueryBodySyntax body = null)
        {
            var result = new QueryContinuationSyntax();

            result.Identifier = identifier;
            result.Body = body;

            return result;
        }
Esempio n. 4
0
        public static QueryBodySyntax QueryBody(SelectOrGroupClauseSyntax selectOrGroup = null)
        {
            var result = new QueryBodySyntax();

            result.SelectOrGroup = selectOrGroup;

            return result;
        }
Esempio n. 5
0
        public static QueryBodySyntax QueryBody(IEnumerable<QueryClauseSyntax> clauses = null, SelectOrGroupClauseSyntax selectOrGroup = null, QueryContinuationSyntax continuation = null)
        {
            var result = new QueryBodySyntax();

            if (clauses != null)
                result.Clauses.AddRange(clauses);
            result.SelectOrGroup = selectOrGroup;
            result.Continuation = continuation;

            return result;
        }
Esempio n. 6
0
 public virtual void VisitQueryBody(QueryBodySyntax node)
 {
     DefaultVisit(node);
 }