Package com.ibm.icu.impl.number
Class PatternStringParser.ParserState
java.lang.Object
com.ibm.icu.impl.number.PatternStringParser.ParserState
- Enclosing class:
- PatternStringParser
An internal class used for tracking the cursor during parsing of a pattern string.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) int
next()
Returns the next code point and then steps forward.(package private) int
peek()
Returns the next code point, or -1 if string is too short.(package private) int
peek2()
Returns the code point after the next code point, or -1 if string is too short.(package private) IllegalArgumentException
toParseException
(String message)
-
Field Details
-
pattern
-
offset
int offset
-
-
Constructor Details
-
ParserState
ParserState(String pattern)
-
-
Method Details
-
peek
int peek()Returns the next code point, or -1 if string is too short. -
peek2
int peek2()Returns the code point after the next code point, or -1 if string is too short. -
next
int next()Returns the next code point and then steps forward. -
toParseException
-