Uses of Record Class
org.variantsync.diffdetective.util.LineRange
Packages that use LineRange
Package
Description
-
Uses of LineRange in org.variantsync.diffdetective.diff.text
Methods in org.variantsync.diffdetective.diff.text that return LineRangeModifier and TypeMethodDescriptionstatic LineRangeDiffLineNumber.rangeAtTime(DiffLineNumber from, DiffLineNumber to, Time time) Returns the range between two line numbers at a given time.static LineRangeDiffLineNumber.rangeInDiff(DiffLineNumber from, DiffLineNumber to) Returns the range between two line numbers in the diff. -
Uses of LineRange in org.variantsync.diffdetective.util
Methods in org.variantsync.diffdetective.util that return LineRangeModifier and TypeMethodDescriptionstatic LineRangeLineRange.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 LineRangeLineRange.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 LineRangeLineRange.Invalid()Creates an invalid range that does not represent a valid range of line numbers in a text file.static LineRangeLineRange.SingleLine(int lineNo) Creates a range that covers only a single line. -
Uses of LineRange in org.variantsync.diffdetective.variation.diff
Methods in org.variantsync.diffdetective.variation.diff that return LineRangeModifier 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.Methods in org.variantsync.diffdetective.variation.diff with parameters of type LineRangeModifier and TypeMethodDescriptionvoidProjection.setLineRange(LineRange lineRange) voidDiffNode.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
Fields in org.variantsync.diffdetective.variation.tree declared as LineRangeModifier and TypeFieldDescriptionprivate LineRangeVariationTreeNode.lineRangeThe range of line numbers of this node's corresponding source code.Methods in org.variantsync.diffdetective.variation.tree that return LineRangeModifier and TypeMethodDescriptionabstract LineRangeVariationNode.getLineRange()Returns the range of line numbers of this node's corresponding source code.VariationTreeNode.getLineRange()Methods in org.variantsync.diffdetective.variation.tree with parameters of type LineRangeModifier and TypeMethodDescriptionstatic <L extends Label>
VariationTreeNode<L> VariationTreeNode.createArtifact(LineRange lineRange, L label) Convenience constructor for creating an artifact node of aVariationTree.abstract voidVariationNode.setLineRange(LineRange lineRange) Sets the range of line numbers of this node's corresponding source code.voidVariationTreeNode.setLineRange(LineRange lineRange) Constructors in org.variantsync.diffdetective.variation.tree with parameters of type LineRangeModifierConstructorDescriptionVariationTreeNode(NodeType nodeType, org.prop4j.Node featureMapping, LineRange lineRange, L label) Creates a new node of a variation tree.