pub fn compile_item(item: &Item, ordinal: usize) -> Result<EditSpec, String>Expand description
Compile one parsed edit item into an EditSpec. Defaults inside a
script: expect "=1" (an anchored structural edit means exactly here,
and the stricter default is the safer one inside an atomic batch) and
mode literal (promotion is off in scripts; the author states intent).