Interface VariabilityAwareTreeDiffer<L extends Label>
- All Superinterfaces:
VariabilityAwareDiffer<L>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface VariabilityAwareTreeDiffer<L extends Label>
extends VariabilityAwareDiffer<L>
-
Method Summary
Modifier and TypeMethodDescriptiondefault VariationDiff<L> ComposesparseTree(java.io.Reader,org.variantsync.diffdetective.util.Source)anddiffTrees(org.variantsync.diffdetective.variation.tree.VariationTree<org.variantsync.diffdetective.variation.DiffLinesLabel>,org.variantsync.diffdetective.variation.tree.VariationTree<org.variantsync.diffdetective.variation.DiffLinesLabel>)to create aVariationDiff.diffTrees(VariationTree<DiffLinesLabel> before, VariationTree<DiffLinesLabel> after) Creates aVariationDiffby diffing two variation trees.default VariationDiffParseOptionsReturns the options used for parsing theVariationTrees inparseTree(java.io.Reader,org.variantsync.diffdetective.util.Source).default VariationTree<DiffLinesLabel> Methods inherited from interface org.variantsync.diffdetective.variation.diff.VariabilityAwareDiffer
diff, diff
-
Method Details
-
diffTrees
VariationDiff<L> diffTrees(VariationTree<DiffLinesLabel> before, VariationTree<DiffLinesLabel> after) Creates aVariationDiffby diffing two variation trees. -
getParseOptions
Returns the options used for parsing theVariationTrees inparseTree(java.io.Reader,org.variantsync.diffdetective.util.Source). -
parseTree
default VariationTree<DiffLinesLabel> parseTree(Reader input, Source source) throws IOException, DiffParseException - Throws:
IOExceptionDiffParseException
-
diff
default VariationDiff<L> diff(Reader before, Reader after, Source beforeSource, Source afterSource) throws IOException, DiffParseException ComposesparseTree(java.io.Reader,org.variantsync.diffdetective.util.Source)anddiffTrees(org.variantsync.diffdetective.variation.tree.VariationTree<org.variantsync.diffdetective.variation.DiffLinesLabel>,org.variantsync.diffdetective.variation.tree.VariationTree<org.variantsync.diffdetective.variation.DiffLinesLabel>)to create aVariationDiff.- Specified by:
diffin interfaceVariabilityAwareDiffer<L extends Label>- Throws:
IOExceptionDiffParseException
-