pub type ExpandFn = fn(&mut NodeProto) -> Result<(), CompileError>;
Per-op expansion function. Mutates the node in place; returns Err only on malformed input the compiler can’t recover from.
Err