Package org.sonar.java.regex.ast
Class OpeningQuote
- java.lang.Object
-
- org.sonar.java.regex.ast.RegexSyntaxElement
-
- org.sonar.java.regex.ast.OpeningQuote
-
public class OpeningQuote extends RegexSyntaxElement
This class should only be instantiated by RegexParseResult.openingQuote() and only used when using the opening quote of a regex as an issue location. It should never appear within a regex AST.
-
-
Constructor Summary
Constructors Constructor Description OpeningQuote(RegexSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Location>
getLocations()
String
getText()
-
Methods inherited from class org.sonar.java.regex.ast.RegexSyntaxElement
getRange, getSource
-
-
-
-
Constructor Detail
-
OpeningQuote
public OpeningQuote(RegexSource source)
-
-
Method Detail
-
getText
public String getText()
- Overrides:
getText
in classRegexSyntaxElement
-
getLocations
public List<Location> getLocations()
- Overrides:
getLocations
in classRegexSyntaxElement
-
-