Actio
API ReferenceFunctions

applyPasses

function applyPasses(ctx, passes): void;

Defined in: packages/core/src/passes/registry.ts:59

Sort the given passes, then run each against ctx.

This is the pass-only primitive. It intentionally does not perform the final compile-time text interpolation phase that turns {{ ... }} tokens into literals; use runPasses() or PassRegistry.run() for the complete public pipeline.

Parameters

ctx

ParseContext

passes

Pass[]

Returns

void

On this page