Plebeia.DiffSource 3 Tools
3 Tools
type t = | Add of Node_type.node * Segment.Segs.t| Del of Segment.Segs.t| CleanBud of Segment.Segs.t| ModLeaf of Node_type.node * Value.t * Segment.Segs.tSegment fbased diff
Pretty printing
Load all the node in the diff and foget Index information so tht the diff can be directly applicable to tree of the another context.
diff src dst gets the segment based diff between 2 nodes
Add (n,segs) just insert n to the cursor. If Cursor.t uses a different context from the one of diffs, indices in the n must be reset to Not_Indexed.
Check the diff correctness