Class PythonAnalyzerRegexSource

java.lang.Object
org.sonarsource.analyzer.commons.regex.RegexSource
org.sonarsource.analyzer.commons.regex.python.PythonRegexSource
org.sonar.python.regex.PythonAnalyzerRegexSource

public class PythonAnalyzerRegexSource extends org.sonarsource.analyzer.commons.regex.python.PythonRegexSource
  • Field Summary

    Fields inherited from class org.sonarsource.analyzer.commons.regex.RegexSource

    source
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.sonarsource.analyzer.commons.regex.CharacterParser
     
    boolean
     
    locationInFileFor(org.sonarsource.analyzer.commons.regex.ast.IndexRange range)
     

    Methods inherited from class org.sonarsource.analyzer.commons.regex.python.PythonRegexSource

    features

    Methods inherited from class org.sonarsource.analyzer.commons.regex.RegexSource

    createLexer, getSourceText, length, substringAt, supportsFeature

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PythonAnalyzerRegexSource

      public PythonAnalyzerRegexSource(StringElement s)
  • Method Details

    • createCharacterParser

      public org.sonarsource.analyzer.commons.regex.CharacterParser createCharacterParser()
      Specified by:
      createCharacterParser in class org.sonarsource.analyzer.commons.regex.RegexSource
    • locationInFileFor

      public LocationInFile locationInFileFor(org.sonarsource.analyzer.commons.regex.ast.IndexRange range)
    • isRawString

      public boolean isRawString()