| Package | Description |
|---|---|
| tech.units.indriya.format |
| Modifier and Type | Field and Description |
|---|---|
Token |
TokenException.currentToken
This is the last token that has been consumed successfully.
|
Token |
Token.next
A reference to the next regular (non-special) token from the input stream.
|
Token |
Token.specialToken
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
|
| Modifier and Type | Method and Description |
|---|---|
Token |
TokenException.getToken() |
static Token |
Token.of(int ofKind) |
static Token |
Token.of(int ofKind,
String image)
Returns a new Token object, by default.
|
| Constructor and Description |
|---|
TokenException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
String[] tokenImageVal)
This constructor is used by the method "raiseTokenException" in the generated parser.
|
Copyright © 2005–2022 Units of Measurement project. All rights reserved.