Package org.sonar.java.regex
Class JavaUnicodeEscapeParser
- java.lang.Object
-
- org.sonar.java.regex.JavaUnicodeEscapeParser
-
public class JavaUnicodeEscapeParser extends Object
Parses unicode escape sequences in Java code. Given an Unicode escape sequence, it will give you the character represented by it. Given any other character it will give you that character as-is.
-
-
Constructor Summary
Constructors Constructor Description JavaUnicodeEscapeParser(RegexSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SourceCharacter
getCurrent()
void
moveNext()
void
resetTo(int index)
-
-
-
Constructor Detail
-
JavaUnicodeEscapeParser
public JavaUnicodeEscapeParser(RegexSource source)
-
-
Method Detail
-
resetTo
public void resetTo(int index)
-
getCurrent
@CheckForNull public SourceCharacter getCurrent()
-
moveNext
public void moveNext()
-
-