Uses of Record Class
org.variantsync.diffdetective.variation.tree.VariationTree
Package
Description
-
Uses of VariationTree in org.variantsync.diffdetective.show
Modifier and TypeMethodDescriptionstatic GameEngine
Show.tree
(VariationTree<?> t) static GameEngine
Show.tree
(VariationTree<?> t, String title) static <L extends Label>
GameEngineShow.tree
(VariationTree<L> t, String title, List<DiffNodeLabelFormat<L>> availableFormats) -
Uses of VariationTree in org.variantsync.diffdetective.variation.diff
Modifier and TypeMethodDescriptionCreates the projection of this variation diff at the given time.Modifier and TypeMethodDescriptionstatic <L extends Label>
VariationDiff<L>VariationDiff.fromTrees
(VariationTree<L> before, VariationTree<L> after) -
Uses of VariationTree in org.variantsync.diffdetective.variation.diff.bad
Modifier and TypeFieldDescriptionprivate final VariationTree<L>
BadVDiff.diff
The field for thediff
record component.Modifier and TypeMethodDescriptionBadVDiff.diff()
Returns the value of thediff
record component.ModifierConstructorDescriptionBadVDiff
(VariationTree<L> diff, Map<VariationTreeNode<L>, VariationTreeNode<L>> matching, Map<VariationTreeNode<L>, DiffType> coloring, Map<VariationTreeNode<L>, DiffLineNumberRange> lines) Creates an instance of aBadVDiff
record class. -
Uses of VariationTree in org.variantsync.diffdetective.variation.diff.construction
Modifier and TypeMethodDescriptionstatic <L extends Label>
VariationDiff<L>GumTreeDiff.diffUsingMatching
(VariationTree<L> before, VariationTree<L> after) -
Uses of VariationTree in org.variantsync.diffdetective.variation.tree
Modifier and TypeMethodDescriptionVariationTree.deepCopy()
VariationTree.deepCopy
(Map<VariationTreeNode<L>, VariationTreeNode<L>> oldToNew) Creates a deep copy of this variation tree.VariationTree.forAllPreorder
(Consumer<VariationTreeNode<L>> action) Invokes the given callback for each node in this Variation Tree in depth-first order.static VariationTree<DiffLinesLabel>
VariationTree.fromFile
(BufferedReader input, VariationTreeSource source, VariationDiffParseOptions parseOptions) Parses aVariationTree
from source code with C preprocessor annotations.static VariationTree<DiffLinesLabel>
Same asfromFile(Path, VariationDiffParseOptions)
but withVariationDiffParseOptions.Default
parse options.static VariationTree<DiffLinesLabel>
VariationTree.fromFile
(Path path, VariationDiffParseOptions parseOptions) Same asfromFile(BufferedReader, VariationTreeSource, VariationDiffParseOptions)
but registerspath
as source.static <L extends Label>
VariationTree<L>VariationTree.fromProjection
(Projection<L> projection, VariationTreeSource source) static <T extends VariationNode<T,
L>, L extends Label>
VariationTree<L>VariationTree.fromVariationNode
(VariationNode<T, L> node, VariationTreeSource source) -
Uses of VariationTree in org.variantsync.diffdetective.variation.tree.graph
Modifier and TypeMethodDescriptionstatic <L extends Label>
FormalTreeGraph<L>FormalTreeGraph.fromTree
(VariationTree<L> t) Creates a GraphView for a given VariationTree. -
Uses of VariationTree in org.variantsync.diffdetective.variation.tree.view
Modifier and TypeMethodDescriptionstatic VariationTree<?>
TreeView.tree
(VariationTree<?> t, Relevance r) Creates a view on the given variation tree as described by the given relevance predicate.Modifier and TypeMethodDescriptionstatic VariationTree<?>
TreeView.tree
(VariationTree<?> t, Relevance r) Creates a view on the given variation tree as described by the given relevance predicate.static <L extends Label>
voidTreeView.treeInline
(VariationTree<L> t, Relevance r) Mutates a variation tree inplace to a view on itself.