Beispiel #1
0
        public override void VisitSelectClause(SelectClause selectClause, QueryModel queryModel)
        {
            ISparqlQueryGenerator currentGenerator = QueryGeneratorTree.CurrentGenerator;

            currentGenerator.OnBeforeSelectClauseVisited(selectClause.Selector);

            for (int i = 0; i < queryModel.BodyClauses.Count; i++)
            {
                IBodyClause c = queryModel.BodyClauses[i];

                c.Accept(this, queryModel, i);
            }

            for (int i = 0; i < queryModel.ResultOperators.Count; i++)
            {
                ResultOperatorBase o = queryModel.ResultOperators[i];

                o.Accept(this, queryModel, i);
            }

            currentGenerator.OnSelectClauseVisited(selectClause.Selector);
        }