public interface IDiffEngine
We generally expect that a call to #diff(Comparison)
will complete every single
Match
it finds with all differences that can be detected on its sides. The
diff engine is not expected to detect conflicts, equivalences or dependencies between different diffs,
these will be detected later on.
Clients can also subclass the default implementation
.
DefaultDiffEngine
Modifier and Type | Method and Description |
---|---|
void |
diff(Comparison comparison,
Monitor monitor)
This is the entry point of the differencing process.
|
void diff(Comparison comparison, Monitor monitor)
It will complete the input comparison
by iterating over the
matches
it contain, filling in the differences it can detect for
each distinct Match.
comparison
- The comparison this engine is expected to complete.monitor
- The monitor to report progress or to check for cancellation.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.