draxl_patch/lib.rs
1#![forbid(unsafe_code)]
2//! Structured patch operations over the Draxl semantic model.
3//!
4//! The patch layer applies semantic edit operators directly to the Draxl AST.
5//! It is intentionally slot-aware, identity-aware, and attachment-aware so
6//! callers can express concurrent-friendly structural edits instead of
7//! rewriting text.
8
9mod apply;
10mod error;
11mod model;
12
13pub use apply::{apply_op, apply_ops};
14pub use error::PatchError;
15pub use model::{
16 PatchDest, PatchNode, PatchOp, PatchPath, PatchValue, RankedDest, SlotOwner, SlotRef,
17};