Create a new instance of the XCC diff implementation.
Arguments: |
|
---|
Arguments: |
|
---|
Return an array of the bottom-most structure-type nodes beneath the given node.
Arguments: |
|
---|---|
Returns boolean: | |
Return true if the value of the two nodes is equal. |
Default equality test for content nodes. Also test all descendants of a and b for equality. Override this method if you want to use tree hashing for this purpose.
Arguments: |
|
---|---|
Returns boolean: | |
Return true if the value of the two nodes is equal. |
Default equality test for structure nodes. Return true if ancestors either have the same node value or if they form a pair. Override this method if you want to use tree hashing for this purpose.
Arguments: |
|
---|
Invoke the given callback with each sequence of unmatched nodes.
Arguments: |
|
---|---|
Returns boolean: | |
True if the node is a content-node, false otherwise. |
Return true if the given node should be treated as a content node. Override this method in order to implement custom logic to decide whether a node should be examined during the initial LCS (content) or during the second pass. Default: Return true for leaf-nodes.
Arguments: |
|
---|---|
Returns boolean: | |
True if the node is a content-node, false otherwise. |
Return true if the given node should be treated as a structure node. Default: Return true for internal nodes.
Arguments: |
|
---|
Identify unchanged leaves by comparing them using myers longest common subsequence algorithm.
Arguments: |
|
---|---|
Returns boolean: | |
Return true if a pair is found in the ancestor chain. |
Return true if a pair is found in the ancestor chain of a and b.
Arguments: |
|
---|
Put a and b and all their unmatched ancestors into the matching.