Uses of Class
org.variantsync.diffdetective.diff.result.DiffParseException
Package
Description
-
Uses of DiffParseException in org.variantsync.diffdetective.diff.result
Modifier and TypeMethodDescriptionstatic DiffParseException
DiffParseException.Unparseable
(Exception exception, DiffLineNumber lineNumber) A DiffParseException due to an unparseable formula. -
Uses of DiffParseException in org.variantsync.diffdetective.experiments.thesis_bm
Modifier and TypeMethodDescriptionboolean
ConstructionValidation.analyzeVariationDiff
(Analysis analysis) private VariationDiff<DiffLinesLabel>
ConstructionValidation.parseVariationTree
(Analysis analysis, org.eclipse.jgit.revwalk.RevCommit commit) -
Uses of DiffParseException in org.variantsync.diffdetective.internal
Modifier and TypeMethodDescriptionstatic void
static void
TextDiffToTikz.textDiff2Tikz
(Path fileToConvert, GraphvizExporter.LayoutAlgorithm layout) -
Uses of DiffParseException 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 DiffParseException 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 DiffParseException in org.variantsync.diffdetective.variation.diff.parse
Modifier and TypeMethodDescriptionprivate void
VariationDiffParser.addNode
(DiffNode<DiffLinesLabel> newNode) Adds a fully parsed node into theVariationDiff
.static 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.private VariationDiff<DiffLinesLabel>
VariationDiffParser.parse
(org.apache.commons.lang3.function.FailableSupplier<VariationDiffParser.DiffLine, IOException> lines) Parses the line difffullDiff
.private void
VariationDiffParser.parseLine
(LogicalLine line, DiffType diffType, DiffLineNumber lastLineNumber) Parses one logical line and most notably, handles conditional macros.private void
VariationDiffParser.popIfChain
(Stack<DiffNode<DiffLinesLabel>> stack, DiffLineNumber elseLineNumber) Popstack
until an IF node is popped. -
Uses of DiffParseException in org.variantsync.diffdetective.variation.diff.view
Modifier and TypeMethodDescriptionstatic <L extends Label>
VariationDiff<DiffLinesLabel>DiffView.naive
(VariationDiff<L> d, Relevance rho) This function generates a view on the given variation diff by generating views on the underlying variation trees, and then differencing these tree views.private static <L extends Label>
VariationDiff<DiffLinesLabel>DiffView.naive
(VariationDiff<L> d, Relevance rho, String[] projectionViewText) This method is not intended to be used directly and exists for optimization purposes only.static <L extends Label>
VariationDiff<DiffLinesLabel>DiffView.naive
(VariationDiff<L> d, Relevance rho, BiPredicate<Time, Projection<L>> inView) This method is not intended to be used directly and exists for optimization purposes only. -
Uses of DiffParseException 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>
Same asVariationTree.fromFile(Path, VariationDiffParseOptions)
but withVariationDiffParseOptions.Default
parse options.static VariationTree<DiffLinesLabel>
VariationTree.fromFile
(Path path, VariationDiffParseOptions parseOptions) Same asVariationTree.fromFile(BufferedReader, VariationTreeSource, VariationDiffParseOptions)
but registerspath
as source.