Package org.sonar.java.regex
Class JavaCharacterParser
- java.lang.Object
-
- org.sonar.java.regex.JavaCharacterParser
-
public class JavaCharacterParser extends Object
Parse the contents of string literals and provide the individual characters of the string after processing escape sequences
-
-
Constructor Summary
Constructors Constructor Description JavaCharacterParser(RegexSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JavaCharacter
getCurrent()
boolean
isAtEnd()
boolean
isNotAtEnd()
void
moveNext()
void
resetTo(int index)
-
-
-
Constructor Detail
-
JavaCharacterParser
public JavaCharacterParser(RegexSource source)
-
-
Method Detail
-
resetTo
public void resetTo(int index)
-
moveNext
public void moveNext()
-
getCurrent
@Nonnull public JavaCharacter getCurrent()
-
isAtEnd
public boolean isAtEnd()
-
isNotAtEnd
public boolean isNotAtEnd()
-
-