Uses of Class
org.variantsync.diffdetective.diff.result.DiffParseException
Packages that use DiffParseException
Package
Description
-
Uses of DiffParseException in org.variantsync.diffdetective.diff.result
Methods in org.variantsync.diffdetective.diff.result that return DiffParseExceptionModifier and TypeMethodDescriptionstatic DiffParseExceptionDiffParseException.Unparseable(Exception exception, DiffLineNumber lineNumber) A DiffParseException due to an unparseable formula. -
Uses of DiffParseException in org.variantsync.diffdetective.experiments.thesis_bm
Methods in org.variantsync.diffdetective.experiments.thesis_bm that throw DiffParseExceptionModifier and TypeMethodDescriptionbooleanConstructionValidation.analyzeVariationDiff(Analysis analysis) private VariationDiff<DiffLinesLabel> ConstructionValidation.parseVariationTree(Analysis analysis, org.eclipse.jgit.revwalk.RevCommit commit) -
Uses of DiffParseException in org.variantsync.diffdetective.internal
Methods in org.variantsync.diffdetective.internal that throw DiffParseExceptionModifier and TypeMethodDescriptionstatic voidvoidTextDiffToTikz.textDiff2Tikz(Path fileToConvert, GraphvizExporter.LayoutAlgorithm layout) -
Uses of DiffParseException in org.variantsync.diffdetective.variation.diff
Methods in org.variantsync.diffdetective.variation.diff that throw DiffParseExceptionModifier and TypeMethodDescriptionCreate a variation diff by diffing the content of twoReaders.default VariationDiff<L> Create a variation diff by diffing the content of twoStrings.default VariationDiff<L> Create a variation diff by diffing the content of twoPaths.default VariationDiff<DiffLinesLabel> VariabilityAwareTextDiffer.diff(Reader before, Reader after, Source beforeSource, Source afterSource) default VariationDiff<L> VariabilityAwareTreeDiffer.diff(Reader before, Reader after, Source beforeSource, Source afterSource) ComposesVariabilityAwareTreeDiffer.parseTree(java.io.Reader,org.variantsync.diffdetective.util.Source)andVariabilityAwareTreeDiffer.diffTrees(org.variantsync.diffdetective.variation.tree.VariationTree<org.variantsync.diffdetective.variation.DiffLinesLabel>,org.variantsync.diffdetective.variation.tree.VariationTree<org.variantsync.diffdetective.variation.DiffLinesLabel>)to create aVariationDiff.static VariationDiff<DiffLinesLabel> VariationDiff.fromDiff(String diff, Source source, 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, Source beforeSource, Source afterSource, org.eclipse.jgit.diff.DiffAlgorithm.SupportedAlgorithm algorithm, VariationDiffParseOptions options) Creates a variation diff from to line-based text inputs.default VariationDiff<DiffLinesLabel> Parses theline diffinto aVariationDiffusing the options fromVariabilityAwareTextDiffer.getParseOptions().default VariationTree<DiffLinesLabel> -
Uses of DiffParseException in org.variantsync.diffdetective.variation.diff.construction
Methods in org.variantsync.diffdetective.variation.diff.construction that throw DiffParseExceptionModifier and TypeMethodDescriptionstatic VariationDiff<DiffLinesLabel> JGitDiff.diff(String linesBefore, String linesAfter, Source sourceBefore, Source sourceAfter, 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
Methods in org.variantsync.diffdetective.variation.diff.parse that throw DiffParseExceptionModifier and TypeMethodDescriptionprivate voidVariationDiffParser.addNode(DiffNode<DiffLinesLabel> newNode) Adds a fully parsed node into theVariationDiff.static VariationDiff<DiffLinesLabel> VariationDiffParser.createVariationDiff(BufferedReader fullDiff, Source source, VariationDiffParseOptions options) Default parsing method forVariationDiffs from diffs.static VariationDiff<DiffLinesLabel> VariationDiffParser.createVariationDiff(String fullDiff, Source source, VariationDiffParseOptions parseOptions) The same asVariationDiffParser.createVariationDiff(BufferedReader, Source, VariationDiffParseOptions)but with the diff given as a single string with line breaks instead of aBufferedReader.static VariationDiff<DiffLinesLabel> VariationDiffParser.createVariationTree(BufferedReader file, Source source, VariationDiffParseOptions options) Parses a variation tree from a source file.private VariationDiff<DiffLinesLabel> VariationDiffParser.parse(Source source, org.apache.commons.lang3.function.FailableSupplier<VariationDiffParser.DiffLine, IOException> lines) Parses the line difffullDiff.private voidVariationDiffParser.parseLine(LogicalLine line, DiffType diffType, DiffLineNumber lastLineNumber) Parses one logical line and most notably, handles conditional macros.private voidVariationDiffParser.popIfChain(Time time, DiffLineNumber elseLineNumber, LogicalLine line) Pop the stack until an IF node is popped. -
Uses of DiffParseException in org.variantsync.diffdetective.variation.diff.view
Methods in org.variantsync.diffdetective.variation.diff.view that throw DiffParseExceptionModifier 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
Methods in org.variantsync.diffdetective.variation.tree that throw DiffParseExceptionModifier and TypeMethodDescriptionstatic VariationTree<DiffLinesLabel> VariationTree.fromFile(BufferedReader input, Source source, VariationDiffParseOptions parseOptions) Parses aVariationTreefrom source code with C preprocessor annotations.static VariationTree<DiffLinesLabel> Same asVariationTree.fromFile(Path, VariationDiffParseOptions)but withVariationDiffParseOptions.Defaultparse options.static VariationTree<DiffLinesLabel> VariationTree.fromFile(Path path, VariationDiffParseOptions parseOptions) Same asVariationTree.fromFile(BufferedReader, Source, VariationDiffParseOptions)but registerspathas source.static VariationTree<DiffLinesLabel> VariationTree.fromText(String input, Source source, VariationDiffParseOptions parseOptions) Parses aVariationTreefrom source code with C preprocessor annotations.