Package org.sonar.java.regex.ast
Class OpeningQuote
- java.lang.Object
-
- org.sonar.java.regex.ast.AbstractRegexSyntaxElement
-
- org.sonar.java.regex.ast.OpeningQuote
-
- All Implemented Interfaces:
RegexSyntaxElement
public class OpeningQuote extends AbstractRegexSyntaxElement
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()StringgetText()-
Methods inherited from class org.sonar.java.regex.ast.AbstractRegexSyntaxElement
getRange, getSource
-
-
-
-
Constructor Detail
-
OpeningQuote
public OpeningQuote(RegexSource source)
-
-
Method Detail
-
getText
public String getText()
- Specified by:
getTextin interfaceRegexSyntaxElement- Overrides:
getTextin classAbstractRegexSyntaxElement
-
getLocations
public List<Location> getLocations()
- Specified by:
getLocationsin interfaceRegexSyntaxElement- Overrides:
getLocationsin classAbstractRegexSyntaxElement
-
-