Class FailingLookaheadFinder
- java.lang.Object
-
- org.sonarsource.analyzer.commons.regex.ast.RegexBaseVisitor
-
- org.sonarsource.analyzer.commons.regex.helpers.BranchTrackingVisitor
-
- org.sonarsource.analyzer.commons.regex.finders.FailingLookaheadFinder
-
- All Implemented Interfaces:
RegexVisitor
public class FailingLookaheadFinder extends BranchTrackingVisitor
-
-
Constructor Summary
Constructors Constructor Description FailingLookaheadFinder(RegexIssueReporter.ElementIssue regexElementIssueReporter, FinalState finalState)FailingLookaheadFinder(RegexIssueReporter.ElementIssue regexElementIssueReporter, FinalState finalState, MatchType matchType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvisitLookAround(LookAroundTree tree)-
Methods inherited from class org.sonarsource.analyzer.commons.regex.helpers.BranchTrackingVisitor
getPredecessorsRangeOf, visitDisjunction, visitRepetition
-
Methods inherited from class org.sonarsource.analyzer.commons.regex.ast.RegexBaseVisitor
after, backslash, before, supportsAnyOfFeatures, visit, visit, visitAtomicGroup, visitBackReference, visitBoundary, visitCapturingGroup, visitCharacter, visitCharacterClass, visitCharacterClassIntersection, visitCharacterClassUnion, visitCharacterRange, visitConditionalSubpattern, visitDot, visitEscapedCharacterClass, visitGroup, visitInCharClass, visitMiscEscapeSequence, visitNonCapturingGroup, visitSequence
-
-
-
-
Constructor Detail
-
FailingLookaheadFinder
public FailingLookaheadFinder(RegexIssueReporter.ElementIssue regexElementIssueReporter, FinalState finalState)
-
FailingLookaheadFinder
public FailingLookaheadFinder(RegexIssueReporter.ElementIssue regexElementIssueReporter, FinalState finalState, MatchType matchType)
-
-
Method Detail
-
visitLookAround
public void visitLookAround(LookAroundTree tree)
- Specified by:
visitLookAroundin interfaceRegexVisitor- Overrides:
visitLookAroundin classRegexBaseVisitor
-
-