Uses of Record Class
org.variantsync.diffdetective.variation.diff.parse.VariationDiffParseOptions
Package
Description
-
Uses of VariationDiffParseOptions in org.variantsync.diffdetective.datasets
Modifier and TypeFieldDescriptionprivate final VariationDiffParseOptions
PatchDiffParseOptions.variationDiffParseOptions
The field for thevariationDiffParseOptions
record component.Modifier and TypeMethodDescriptionPatchDiffParseOptions.variationDiffParseOptions()
Returns the value of thevariationDiffParseOptions
record component.ModifierConstructorDescriptionPatchDiffParseOptions
(PatchDiffParseOptions.DiffStoragePolicy diffStoragePolicy, VariationDiffParseOptions variationDiffParseOptions) Creates an instance of aPatchDiffParseOptions
record class. -
Uses of VariationDiffParseOptions in org.variantsync.diffdetective.experiments.views
-
Uses of VariationDiffParseOptions in org.variantsync.diffdetective.variation.diff
Modifier and TypeMethodDescriptionstatic VariationDiff<DiffLinesLabel>
VariationDiff.fromDiff
(String diff, VariationDiffParseOptions parseOptions) Parses a VariationDiff from the given unix diff.static VariationDiff<DiffLinesLabel>
VariationDiff.fromFile
(Path p, VariationDiffParseOptions parseOptions) Parses a VariationDiff from the given file.static VariationDiff<DiffLinesLabel>
VariationDiff.fromFiles
(Path beforeFile, Path afterFile, org.eclipse.jgit.diff.DiffAlgorithm.SupportedAlgorithm algorithm, VariationDiffParseOptions options) Create a VariationDiff from two given text files.static VariationDiff<DiffLinesLabel>
VariationDiff.fromLines
(String before, String after, org.eclipse.jgit.diff.DiffAlgorithm.SupportedAlgorithm algorithm, VariationDiffParseOptions options) Creates a variation diff from to line-based text inputs. -
Uses of VariationDiffParseOptions in org.variantsync.diffdetective.variation.diff.construction
Modifier and TypeMethodDescriptionstatic VariationDiff<DiffLinesLabel>
JGitDiff.diff
(String linesBefore, String linesAfter, org.eclipse.jgit.diff.DiffAlgorithm.SupportedAlgorithm algorithm, VariationDiffParseOptions options) Creates a variation diff from to line-based text inputs. -
Uses of VariationDiffParseOptions in org.variantsync.diffdetective.variation.diff.parse
Modifier and TypeFieldDescriptionstatic final VariationDiffParseOptions
VariationDiffParseOptions.Default
Default value for VariationDiffParseOptions that does not remember parsed unix diffs and uses the default value for the parsing annotations (PreprocessorAnnotationParser.CPPAnnotationParser
).(package private) final VariationDiffParseOptions
VariationDiffParser.options
Modifier and TypeMethodDescriptionVariationDiffParseOptions.withAnnotationParser
(AnnotationParser annotationParser) Creates VariationDiffParseOptions with the given annotation parser.Modifier and TypeMethodDescriptionstatic VariationDiff<DiffLinesLabel>
VariationDiffParser.createVariationDiff
(BufferedReader fullDiff, VariationDiffParseOptions options) Default parsing method forVariationDiff
s from diffs.static VariationDiff<DiffLinesLabel>
VariationDiffParser.createVariationDiff
(String fullDiff, VariationDiffParseOptions parseOptions) The same asVariationDiffParser.createVariationDiff(BufferedReader, VariationDiffParseOptions)
but with the diff given as a single string with line breaks instead of aBufferedReader
.static VariationDiff<DiffLinesLabel>
VariationDiffParser.createVariationTree
(BufferedReader file, VariationDiffParseOptions options) Parses a variation tree from a source file.ModifierConstructorDescriptionprivate
Initializes the parse state. -
Uses of VariationDiffParseOptions in org.variantsync.diffdetective.variation.tree
Modifier and TypeMethodDescriptionstatic VariationTree<DiffLinesLabel>
VariationTree.fromFile
(BufferedReader input, VariationTreeSource source, VariationDiffParseOptions parseOptions) Parses aVariationTree
from source code with C preprocessor annotations.static VariationTree<DiffLinesLabel>
VariationTree.fromFile
(Path path, VariationDiffParseOptions parseOptions) Same asVariationTree.fromFile(BufferedReader, VariationTreeSource, VariationDiffParseOptions)
but registerspath
as source.