Searched refs:flworExpr (Results 1 – 9 of 9) sorted by relevance
/dports/textproc/zorba/zorba-2.7.0/src/compiler/rewriter/rules/ |
H A D | index_join_rule.cpp | 75 flwor_expr* flworExpr = NULL; in apply() local 89 rCtx.theFlworStack.push_back(flworExpr); in apply() 98 predInfo.theFlworExpr = flworExpr; in apply() 125 predInfo.theFlworExpr = flworExpr; in apply() 161 if (flworExpr != NULL && currChild == flworExpr->get_return_expr()) in apply() 800 flwor_expr*& flworExpr, in findFlworForVar() argument 804 flworExpr = NULL; in findFlworForVar() 815 assert(flworExpr != NULL); in findFlworForVar() 819 flworExpr->is_sequential()) in findFlworForVar() 834 flworExpr = NULL; in findFlworForVar() [all …]
|
H A D | fold_rules.cpp | 68 static expr* partial_eval_return_clause(flwor_expr* flworExpr, bool& modified, RewriterContext& rCt… 955 static expr* partial_eval_return_clause(flwor_expr* flworExpr, in partial_eval_return_clause() argument 959 expr* returnExpr = flworExpr->get_return_expr(); in partial_eval_return_clause() 965 if (flworExpr->num_clauses() == 1) in partial_eval_return_clause() 969 flwor_clause* c = flworExpr->get_clause(0); in partial_eval_return_clause() 989 flworExpr->set_return_expr(newRet); in partial_eval_return_clause() 991 return flworExpr; in partial_eval_return_clause() 1002 flworExpr->set_return_expr(newRet); in partial_eval_return_clause() 1007 return flworExpr; in partial_eval_return_clause()
|
H A D | type_rules.cpp | 448 flwor_expr* flworExpr = reinterpret_cast<flwor_expr*>(node); in RULE_REWRITE_POST() local 452 csize numClauses = flworExpr->num_clauses(); in RULE_REWRITE_POST() 455 if (flworExpr->get_clause(i)->get_kind() == flwor_clause::order_clause) in RULE_REWRITE_POST() 458 (flworExpr->get_clause(i)); in RULE_REWRITE_POST()
|
H A D | flwor_rules.cpp | 1481 const flwor_expr* flworExpr, in rewrite_positional_pred() argument 1486 static_context* sctx = flworExpr->get_sctx(); in rewrite_positional_pred() 1614 const flwor_expr* flworExpr, in is_positional_pred() argument 1739 checkClause = flworExpr->get_clause(checkClausePos); in is_positional_pred() 1770 expr_tools::index_flwor_vars(flworExpr, numFlworVars, varidMap, NULL); in is_positional_pred()
|
/dports/textproc/zorba/zorba-2.7.0/src/compiler/expression/ |
H A D | expr_iter.cpp | 113 flwor_expr* flworExpr = static_cast<flwor_expr*>(theExpr); in next() local 117 theClausesBegin = flworExpr->theClauses.begin(); in next() 118 theClausesIter = flworExpr->theClauses.begin(); in next() 119 theClausesEnd = flworExpr->theClauses.end(); in next() 194 if (theClausesEnd != flworExpr->theClauses.end()) in next() 197 if (pos >= flworExpr->num_clauses()) in next() 200 theClausesEnd = flworExpr->theClauses.end(); in next() 201 theClausesIter = flworExpr->theClauses.begin() + pos; in next() 205 EXPR_ITER_NEXT(flworExpr->theReturnExpr); in next()
|
H A D | expr_base.cpp | 905 const flwor_expr* flworExpr = static_cast<const flwor_expr *>(this); in is_map_internal() local 907 csize numClauses = flworExpr->num_clauses(); in is_map_internal() 911 const flwor_clause* clause = flworExpr->get_clause(i); in is_map_internal() 998 const expr* retExpr = flworExpr->get_return_expr(); in is_map_internal()
|
/dports/textproc/zorba/zorba-2.7.0/src/compiler/xqddf/ |
H A D | value_index.cpp | 537 flwor_expr* flworExpr = theCCB->theEM->create_flwor_expr(sctx, loc, false); in getBuildExpr() local 538 flworExpr->set_return_expr(returnExpr); in getBuildExpr() 539 flworExpr->add_clause(fc); in getBuildExpr() 541 theBuildExpr = flworExpr; in getBuildExpr() 688 flwor_expr* flworExpr = theCCB->theEM->create_flwor_expr(sctx, loc, false); in getDocIndexer() local 689 flworExpr->set_return_expr(returnExpr); in getDocIndexer() 690 flworExpr->add_clause(fc); in getDocIndexer() 696 ccb->theConfig.optimize_cb(flworExpr, msg); in getDocIndexer() 699 theDocIndexerExpr = flworExpr; in getDocIndexer() 704 theDocIndexerPlan = codegen("doc indexer", flworExpr, ccb, nextVarId); in getDocIndexer()
|
/dports/textproc/zorba/zorba-2.7.0/src/compiler/translator/ |
H A D | translator.cpp | 1778 return flworExpr; in wrap_expr_in_flwor() 5169 body = flworExpr; in end_visit() 5275 body = flworExpr; in end_visit() 7272 push_nodestack(flworExpr); in begin_visit() 7468 push_nodestack(flworExpr); in begin_visit() 8590 push_nodestack(flworExpr); in begin_visit() 9276 push_nodestack(flworExpr); in post_axis_visit() 9668 if (flworExpr != NULL) in post_primary_visit() 9731 push_nodestack(flworExpr); in pre_predicate_visit() 9748 ZORBA_ASSERT(flworExpr != NULL && flworExpr->num_clauses() == 3); in post_predicate_visit() [all …]
|
/dports/textproc/zorba/zorba-2.7.0/src/compiler/codegen/ |
H A D | plan_visitor.cpp | 787 if (clauseVarMap->theIsGeneral || flworExpr->is_sequential()) in general_var_codegen() 800 flworExpr->is_general()) || in general_var_codegen() 1434 #define PREV_ITER gflwor_codegen(flworExpr, currentClause - 1) in gflwor_codegen() 1436 const QueryLoc& qloc = flworExpr.get_loc(); in gflwor_codegen() 1438 static_context* sctx = flworExpr.get_sctx(); in gflwor_codegen() 1445 const flwor_clause& c = *(flworExpr.get_clause(currentClause)); in gflwor_codegen() 1691 void flwor_codegen(const flwor_expr& flworExpr) in flwor_codegen() argument 1701 csize numClauses = flworExpr.num_clauses(); in flwor_codegen() 1707 const flwor_clause& c = *flworExpr.get_clause(it); in flwor_codegen() 1905 flworIter = new flwor::FLWORIterator(flworExpr.get_sctx(), in flwor_codegen() [all …]
|