Skip to main content

apply_ops

Function apply_ops 

Source
pub fn apply_ops(
    ops: &[ReplacementOp],
    document: &mut Document,
    args: &[Option<Digested>],
    props: &SymHashMap<Stored>,
) -> Result<()>
Expand description

Execute a parsed replacement against a live Document — the runtime consumer of the AST. Mirrors the Document operations the compile-time codegen emits.