Package org.sonar.python.regex
Class PythonStringCharacterParser
java.lang.Object
org.sonar.python.regex.PythonStringCharacterParser
- All Implemented Interfaces:
org.sonarsource.analyzer.commons.regex.CharacterParser
public class PythonStringCharacterParser
extends Object
implements org.sonarsource.analyzer.commons.regex.CharacterParser
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.sonarsource.analyzer.commons.regex.CharacterParser
isNotAtEnd
-
Field Details
-
source
-
index
protected int index
-
-
Constructor Details
-
PythonStringCharacterParser
-
-
Method Details
-
moveNext
public void moveNext()- Specified by:
moveNextin interfaceorg.sonarsource.analyzer.commons.regex.CharacterParser
-
getCurrent
public org.sonarsource.analyzer.commons.regex.ast.SourceCharacter getCurrent()- Specified by:
getCurrentin interfaceorg.sonarsource.analyzer.commons.regex.CharacterParser
-
isAtEnd
public boolean isAtEnd()- Specified by:
isAtEndin interfaceorg.sonarsource.analyzer.commons.regex.CharacterParser
-
resetTo
public void resetTo(int index) - Specified by:
resetToin interfaceorg.sonarsource.analyzer.commons.regex.CharacterParser
-