Class DiffSkelmatchFactory
Create a new instance of the skelmatch diff factory.
Constructor
-
class DiffSkelmatchFactory()
Methods
createDiffAlgorithm
-
DiffSkelmatchFactory#createDiffAlgorithm(doc1, doc2[, equals])
Arguments: |
- doc1 (Object) – The original document. Use
loadOriginalDocument of the document factory to load a suitable
document.
- doc2 (Object) – The changed document. Use loadInputDocument
of the document factory to load a suitable document.
- equals (function) – The equality test-function used during diffing.
Use the method createNodeEqualityTest of the document factory to
create a suitable equality test function.
|
Returns skelmatch.Diff: |
| An initialized skelmatch.Diff instance.
|
Return new initialized instance of Skel-Match diff algorithm.
createMatching
-
DiffSkelmatchFactory#createMatching()
Returns tree.Matching: |
| Empty matching object. |
Return new tree matching object