Package | Description |
---|---|
tec.uom.se.internal.format |
Modifier and Type | Field and Description |
---|---|
Token |
TokenException.currentToken
This is the last token that has been consumed successfully.
|
(package private) Token |
UnitFormatParser.JJCalls.first |
(package private) Token |
LocalUnitFormatParser.JJCalls.first |
private Token |
UnitFormatParser.jj_lastpos |
private Token |
UnitFormatParser.jj_nt
Next token.
|
private Token |
UnitFormatParser.jj_scanpos |
private Token |
LocalUnitFormatParser.lastpos
Deprecated.
|
Token |
Token.next
A reference to the next regular (non-special) token from the input stream.
|
Token |
LocalUnitFormatParser.nextToken
Deprecated.
Next token.
|
private Token |
LocalUnitFormatParser.scanpos
Deprecated.
|
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.
|
private Token |
UnitFormatParser.token
Current token.
|
Token |
LocalUnitFormatParser.token
Deprecated.
Current token.
|
Modifier and Type | Method and Description |
---|---|
private Token |
LocalUnitFormatParser.consumeToken(int kind)
Deprecated.
|
(package private) Token |
UnitFormatParser.getNextToken()
Get the next Token.
|
Token |
UnitTokenManager.getNextToken()
Get the next Token.
|
Token |
LocalUnitFormatParser.getNextToken()
Deprecated.
Get the next Token.
|
(package private) Token |
UnitFormatParser.getToken(int index)
Get the specific Token.
|
Token |
LocalUnitFormatParser.getToken(int index)
Deprecated.
Get the specific Token.
|
private Token |
UnitFormatParser.jj_consume_token(int kind)
Reinitialise.
|
protected Token |
UnitTokenManager.jjFillToken() |
static Token |
Token.newToken(int ofKind) |
static Token |
Token.newToken(int ofKind,
java.lang.String image)
Returns a new Token object, by default.
|
(package private) Token |
UnitFormatParser.sign() |
Token |
LocalUnitFormatParser.Sign()
Deprecated.
|
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.
|