mirror of
https://github.com/github/semantic.git
synced 2024-12-01 17:59:10 +03:00
Expand on the documentation of Copy.
This commit is contained in:
parent
a96a88cdf8
commit
cacba977dd
@ -4,6 +4,8 @@ public enum Diff: Comparable, CustomDebugStringConvertible, CustomDocConvertible
|
||||
case Patch(Term<Info>, Term<Info>)
|
||||
|
||||
/// Copy a syntax node, recursively diffing its branches.
|
||||
///
|
||||
/// This represents a node in the syntax which is unchanged, but whose child nodes (if any) may have been changed; thus, its children are themselves represented by `Syntax` instantiated to `Diff`, rather than `Term`.
|
||||
indirect case Copy(Syntax<Diff, Info>)
|
||||
|
||||
/// Insert, remove, and patch terms by some assigned identity.
|
||||
|
Loading…
Reference in New Issue
Block a user