src/execution_plan/execution_plan_build/execution_plan_construct.c
// Convert a CALL clause into a procedure call operation.
Convert a CALL clause into a procedure call operation.
Convert a CALL clause into a procedure call operation .
static inline void _buildCallOp(AST *ast, ExecutionPlan *plan,
								const cypher_astnode_t *call_clause) {
	const char *proc_name = cypher_ast_proc_name_get_value(cypher_ast_call_get_proc_name(call_clause));
	AR_ExpNode **arguments = _BuildCallArguments(call_clause);
	AR_ExpNode **yield_exps = _BuildCallProjections(call_clause, ast); 
	OpBase *op = NewProcCallOp(plan, proc_name, arguments, yield_exps);
	ExecutionPlan_UpdateRoot(plan, op);
}
static inline void _buildCallOp ( AST * ast , ExecutionPlan * plan , const cypher_astnode_t * call_clause ) { const char * proc_name = cypher_ast_proc_name_get_value ( cypher_ast_call_get_proc_name ( call_clause ) ) ; AR_ExpNode * * arguments = _BuildCallArguments ( call_clause ) ; AR_ExpNode * * yield_exps = _BuildCallProjections ( call_clause , ast ) ; OpBase * op = NewProcCallOp ( plan , proc_name , arguments , yield_exps ) ; ExecutionPlan_UpdateRoot ( plan , op ) ; }
Convert a CALL clause into a procedure call operation.
Convert a CALL clause into a procedure call operation .
// A call clause has a procedure name, 0+ arguments (parenthesized expressions), and a projection if YIELD is included // TODO only need strings