Package org.jrubyparser.util.diff

Interface Summary
IsJunk Implementations of the interface IsJunk and the #checkJunk() method can be passed to NodeDiff and SequenceMatcher as callbacks which will then be used to select Nodes to be skipped over during the diffing process.
 

Class Summary
Change  
DeepDiff The DeepDiff class attaches the subnode-diff (the result of diffing the children of Nodes which have already been diffed) to the Change object holding the nodes that the subnodes are contained within.
NodeDiff The NodeDiff class takes two Node objects, and via the SequenceMatcher class, determines the differences between the two objects and creates a diff, which is a List of Change objects containing a pair of Nodes, the original and its replacement (or a single Node, representing an insertion or deletion, depending on whether its in the new or old AST) as well as other relevant information about the difference.
SequenceMatcher The SequenceMatcher class is used to produce a list of matching nodes.
 



Copyright © 2013. All Rights Reserved.