Package org.sonar.java.regex
Class RegexParseResult
- java.lang.Object
-
- org.sonar.java.regex.RegexParseResult
-
public class RegexParseResult extends Object
-
-
Constructor Summary
Constructors Constructor Description RegexParseResult(RegexTree result, StartState startState, FinalState finalState, List<SyntaxError> syntaxErrors, boolean containsComments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsComments()FinalStategetFinalState()FlagSetgetInitialFlags()RegexTreegetResult()StartStategetStartState()List<SyntaxError>getSyntaxErrors()booleanhasSyntaxErrors()RegexSyntaxElementopeningQuote()Returns a syntax element representing the first opening quote of the string literal(s) making up the regex
-
-
-
Constructor Detail
-
RegexParseResult
public RegexParseResult(RegexTree result, StartState startState, FinalState finalState, List<SyntaxError> syntaxErrors, boolean containsComments)
-
-
Method Detail
-
getResult
public RegexTree getResult()
-
getInitialFlags
public FlagSet getInitialFlags()
-
getSyntaxErrors
public List<SyntaxError> getSyntaxErrors()
-
hasSyntaxErrors
public boolean hasSyntaxErrors()
-
containsComments
public boolean containsComments()
-
openingQuote
public RegexSyntaxElement openingQuote()
Returns a syntax element representing the first opening quote of the string literal(s) making up the regex
-
getFinalState
public FinalState getFinalState()
-
getStartState
public StartState getStartState()
-
-