Package | Description |
---|---|
ucar.units |
Provides support for parsing and formatting string unit specification,
converting numerical values between compatible units, and performing arithmetic
on units (such as dividing one unit by another).
|
Modifier and Type | Field and Description |
---|---|
Token |
ParseException.currentToken
This is the last token that has been consumed successfully.
|
Token |
StandardUnitFormat.jj_nt
Next token.
|
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.
|
Token |
StandardUnitFormat.token
Current token.
|
Modifier and Type | Method and Description |
---|---|
Token |
StandardUnitFormatTokenManager.getNextToken()
Get the next Token.
|
Token |
StandardUnitFormat.getNextToken()
Get the next Token.
|
Token |
StandardUnitFormat.getToken(int index)
Get the specific Token.
|
protected Token |
StandardUnitFormatTokenManager.jjFillToken() |
static Token |
Token.newToken(int ofKind) |
static Token |
Token.newToken(int ofKind,
String image)
Returns a new Token object, by default.
|
Constructor and Description |
---|
ParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
String[] tokenImageVal)
This constructor is used by the method "generateParseException"
in the generated parser.
|
Copyright © 1999–2016 UCAR/Unidata. All rights reserved.