Package | Description |
---|---|
systems.uom.ucum.internal.format |
Modifier and Type | Field and Description |
---|---|
Token |
TokenException.currentToken
This is the last token that has been consumed successfully.
|
(package private) Token |
UCUMFormatParser.JJCalls.first |
(package private) Token |
UnitFormatParser.JJCalls.first |
private Token |
UCUMFormatParser.jj_lastpos |
Token |
UCUMFormatParser.jj_nt
Next token.
|
private Token |
UCUMFormatParser.jj_scanpos |
private Token |
UnitFormatParser.lastpos |
Token |
Token.next
A reference to the next regular (non-special) token from the input
stream.
|
Token |
UnitFormatParser.nextToken
Next token.
|
private Token |
UnitFormatParser.scanpos |
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.
|
Token |
UCUMFormatParser.token
Current token.
|
Token |
UnitFormatParser.token
Current token.
|
Modifier and Type | Method and Description |
---|---|
private Token |
UnitFormatParser.consumeToken(int kind) |
Token |
UCUMFormatParser.getNextToken()
Get the next Token.
|
Token |
UnitFormatParser.getNextToken()
Get the next Token.
|
Token |
UnitTokenManager.getNextToken()
Get the next Token.
|
Token |
UCUMTokenManager.getNextToken()
Get the next Token.
|
Token |
UCUMFormatParser.getToken(int index)
Get the specific Token.
|
Token |
UnitFormatParser.getToken(int index)
Get the specific Token.
|
private Token |
UCUMFormatParser.jj_consume_token(int kind) |
protected Token |
UnitTokenManager.jjFillToken() |
protected Token |
UCUMTokenManager.jjFillToken() |
static Token |
Token.newToken(int ofKind) |
static Token |
Token.newToken(int ofKind,
java.lang.String image)
Returns a new Token object, by default.
|
Token |
UnitFormatParser.Sign() |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
TokenException.initialise(Token currentToken,
int[][] expectedTokenSequences,
java.lang.String[] tokenImage)
It uses "currentToken" and "expectedTokenSequences" to generate a parse
error message and returns it.
|
Constructor and Description |
---|
TokenException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
java.lang.String[] tokenImageVal)
This constructor is used by the method "raiseTokenException"
in the generated parser.
|