protected static class StructParser.MagicOrIntLiteral
extends java.lang.Object
MagicOrIntLiteral ::= magicLiteral | intLiteral | hexLiteral
Modifier and Type | Field and Description |
---|---|
int |
intValue |
java.lang.String |
magicValue |
Constructor and Description |
---|
MagicOrIntLiteral(StreamPosTokenizer scanner) |
Modifier and Type | Method and Description |
---|---|
int |
intValue() |
boolean |
isMagic() |
java.lang.String |
stringValue() |
static int |
toInt(java.lang.String magic) |
static java.lang.String |
toMagic(int value) |
public MagicOrIntLiteral(StreamPosTokenizer scanner) throws java.io.IOException, ParseException
java.io.IOException
ParseException