Uses of Record Class
org.variantsync.diffdetective.util.LineRange
Package
Description
-
Uses of LineRange in org.variantsync.diffdetective.diff.text
Modifier and TypeMethodDescriptionstatic LineRange
DiffLineNumber.rangeAtTime
(DiffLineNumber from, DiffLineNumber to, Time time) Returns the range between two line numbers at a given time.static LineRange
DiffLineNumber.rangeInDiff
(DiffLineNumber from, DiffLineNumber to) Returns the range between two line numbers in the diff. -
Uses of LineRange in org.variantsync.diffdetective.util
Modifier and TypeMethodDescriptionstatic LineRange
LineRange.FromInclToExcl
(int fromInclusive, int toExclusive) Creates a range of line numbers including the first line number and ending at but excluding the second line number.static LineRange
LineRange.FromInclToIncl
(int fromInclusive, int toInclusive) Creates a range of line numbers including the first line number and ending at and including the second line number.static LineRange
LineRange.Invalid()
Creates an invalid range that does not represent a valid range of line numbers in a text file.static LineRange
LineRange.SingleLine
(int lineNo) Creates a range that covers only a single line. -
Uses of LineRange in org.variantsync.diffdetective.variation.diff
Modifier and TypeMethodDescriptionProjection.getLineRange()
DiffNode.getLinesAtTime
(Time time) Returns the range of line numbers of this node's corresponding source code before or after the edit.DiffNode.getLinesInDiff()
Returns the range of line numbers of this node's corresponding source code in the text-based diff.Modifier and TypeMethodDescriptionvoid
Projection.setLineRange
(LineRange lineRange) void
DiffNode.setLinesAtTime
(LineRange lineRange, Time time) Returns the range of line numbers of this node's corresponding source code before or after the edit. -
Uses of LineRange in org.variantsync.diffdetective.variation.tree
Modifier and TypeFieldDescriptionprivate LineRange
VariationTreeNode.lineRange
The range of line numbers of this node's corresponding source code.Modifier and TypeMethodDescriptionabstract LineRange
VariationNode.getLineRange()
Returns the range of line numbers of this node's corresponding source code.VariationTreeNode.getLineRange()
Modifier and TypeMethodDescriptionstatic <L extends Label>
VariationTreeNode<L>VariationTreeNode.createArtifact
(LineRange lineRange, L label) Convenience constructor for creating an artifact node of aVariationTree
.abstract void
VariationNode.setLineRange
(LineRange lineRange) Sets the range of line numbers of this node's corresponding source code.void
VariationTreeNode.setLineRange
(LineRange lineRange) ModifierConstructorDescriptionVariationTreeNode
(NodeType nodeType, org.prop4j.Node featureMapping, LineRange lineRange, L label) Creates a new node of a variation tree.