|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.jparsec.Terminals.LongLiteral
public static final class Terminals.LongLiteral
Entry point for parser and tokenizers of integral number literal represented as Long
.
Field Summary | |
---|---|
static Parser<Long> |
DEC_TOKENIZER
A tokenizer that parses a decimal integer number (valid patterns are: 1, 10, 123 ),
and converts the string to a Long value. |
static Parser<Long> |
HEX_TOKENIZER
A tokenizer that parses a hex integer number (valid patterns are: 0x1, 0Xff, 0xFe1 etc.), and converts the string to a Long value. |
static Parser<Long> |
OCT_TOKENIZER
A tokenizer that parses a octal integer number (valid patterns are: 0, 07, 017, 0371 etc.), and converts the string to a Long value. |
static Parser<Long> |
PARSER
Parser that recognizes Long tokens. |
static Parser<Long> |
TOKENIZER
A tokenizer that parses decimal, hex, and octal numbers and converts the string to a Long value. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Parser<Long> PARSER
Parser
that recognizes Long
tokens.
public static final Parser<Long> DEC_TOKENIZER
1, 10, 123
),
and converts the string to a Long
value.
public static final Parser<Long> OCT_TOKENIZER
0, 07, 017, 0371
etc.), and converts the string to a Long
value.
An octal number has to start with 0.
public static final Parser<Long> HEX_TOKENIZER
0x1, 0Xff, 0xFe1
etc.), and converts the string to a Long
value.
A hex number has to start with either 0x or 0X.
public static final Parser<Long> TOKENIZER
Long
value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |