Skip to main content

try_build_execution_plan

Function try_build_execution_plan 

Source
pub fn try_build_execution_plan(
    document: &DocumentAst,
    invocation: Invocation<'_>,
) -> Result<ExecutionPlan, PlanError>
Expand description

Builds a dependency-ordered execution plan from semantic AST and returns planner errors.

Args: document: Semantic AST used by the runtime. invocation: Requested task target plus input bindings.

Returns: Dependency-expanded execution plan in DAG order.