public class Nod extends Token
Token that specifies an amount of data to skip in the input.
This tokens specifies a size (a ValueExpression) just
like Def and evaluates this in the same way (failing when not a
single value results). Unlike with Def, the data is not read but skipped
in the input.
Def,
ValueExpression| Modifier and Type | Field and Description |
|---|---|
ValueExpression |
size |
| Constructor and Description |
|---|
Nod(String name,
ValueExpression size,
Encoding encoding) |
| Modifier and Type | Method and Description |
|---|---|
protected ParseResult |
parseImpl(String scope,
Environment environment,
Encoding encoding) |
String |
toString() |
getCanonical, isLocal, makeNameFragment, parse, parsepublic final ValueExpression size
public Nod(String name, ValueExpression size, Encoding encoding)
protected ParseResult parseImpl(String scope, Environment environment, Encoding encoding) throws IOException
parseImpl in class TokenIOExceptionCopyright © 2017. All rights reserved.