ch.randelshofer.media.binary
Class StructParser.MagicDeclaration
java.lang.Object
ch.randelshofer.media.binary.StructParser.MagicDeclaration
- Enclosing class:
- StructParser
protected static class StructParser.MagicDeclaration
- extends java.lang.Object
MagicDeclaration expression.
MagicDeclaration ::= "magic" identifier ("ushort" hexLiteral[".." hexLiteral] | stringLiteral) ";"
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
identifier
public java.lang.String identifier
magic
public java.lang.String magic
- If magic is null, then ushortMagicFrom/ushortMagicTo is used.
ushortMagicFrom
public int ushortMagicFrom
ushortMagicTo
public int ushortMagicTo
StructParser.MagicDeclaration
public StructParser.MagicDeclaration(org.jhotdraw.io.StreamPosTokenizer scanner)
throws java.io.IOException,
ParseException
- Throws:
java.io.IOException
ParseException