| Modifier and Type | Field and Description |
|---|---|
static ValueExpression |
Shorthand.currentOffset |
static ValueExpression |
Shorthand.self |
| Modifier and Type | Method and Description |
|---|---|
static ValueExpression |
Shorthand.cat(ValueExpression left,
ValueExpression right) |
static ValueExpression |
Shorthand.con(byte[] value) |
static ValueExpression |
Shorthand.con(byte[] value,
Encoding encoding) |
static ValueExpression |
Shorthand.con(Encoding encoding,
int... values) |
static ValueExpression |
Shorthand.con(int... values) |
static ValueExpression |
Shorthand.con(long value) |
static ValueExpression |
Shorthand.con(long value,
Encoding encoding) |
static ValueExpression |
Shorthand.con(String value) |
static ValueExpression |
Shorthand.con(String value,
Encoding encoding) |
static ValueExpression |
Shorthand.con(Value value) |
static ValueExpression |
Shorthand.count(ValueExpression operand) |
static ValueExpression |
Shorthand.elvis(ValueExpression left,
ValueExpression right) |
static ValueExpression |
Shorthand.first(ValueExpression operand) |
static ValueExpression |
Shorthand.fold(ValueExpression values,
Reducer reducer) |
static ValueExpression |
Shorthand.fold(ValueExpression values,
Reducer reducer,
ValueExpression initial) |
static ValueExpression |
Shorthand.foldLeft(ValueExpression values,
Reducer reducer) |
static ValueExpression |
Shorthand.foldLeft(ValueExpression values,
Reducer reducer,
ValueExpression initial) |
static ValueExpression |
Shorthand.foldRight(ValueExpression values,
Reducer reducer) |
static ValueExpression |
Shorthand.foldRight(ValueExpression values,
Reducer reducer,
ValueExpression initial) |
static ValueExpression |
Util.inflate(ValueExpression target) |
static ValueExpression |
Shorthand.last(ValueExpression operand) |
static ValueExpression |
Shorthand.len(ValueExpression operand) |
static ValueExpression |
Shorthand.nth(ValueExpression values,
ValueExpression indices) |
static ValueExpression |
Shorthand.offset(ValueExpression operand) |
static ValueExpression |
Shorthand.ref(String name) |
static ValueExpression |
Shorthand.ref(Token definition) |
static ValueExpression |
Shorthand.rev(ValueExpression values) |
| Modifier and Type | Field and Description |
|---|---|
ValueExpression |
DataExpressionSource.dataExpression |
| Modifier and Type | Method and Description |
|---|---|
Environment |
Environment.source(ValueExpression dataExpression,
int index,
Environment environment,
Encoding encoding) |
| Constructor and Description |
|---|
DataExpressionSource(ValueExpression dataExpression,
int index,
Environment environment,
Encoding encoding) |
| Modifier and Type | Field and Description |
|---|---|
ValueExpression |
ComparisonExpression.predicate |
ValueExpression |
ComparisonExpression.value |
| Constructor and Description |
|---|
ComparisonExpression(ValueExpression value,
ValueExpression predicate) |
Eq(ValueExpression value,
ValueExpression predicate) |
EqNum(ValueExpression value,
ValueExpression predicate) |
EqStr(ValueExpression value,
ValueExpression predicate) |
GtNum(ValueExpression value,
ValueExpression predicate) |
LtNum(ValueExpression value,
ValueExpression predicate) |
| Modifier and Type | Class and Description |
|---|---|
class |
BinaryValueExpression
Base class for
ValueExpressions with two operands. |
class |
Cat
A
BinaryValueExpression that concatenates values at the byte-level. |
class |
Const
A
ValueExpression representing a constant value. |
class |
Elvis
A
ValueExpression that implements the Elvis operator: |
class |
Fold
Base class for
ValueExpression implementations of the Fold
operation. |
class |
FoldLeft
A
ValueExpression implementation of the FoldLeft operation. |
class |
FoldRight
A
ValueExpression implementation of the FoldRight operation. |
class |
Reverse
A
ValueExpression that reverses the results of its operand. |
class |
UnaryValueExpression
Base class for
ValueExpressions with one operand. |
| Modifier and Type | Field and Description |
|---|---|
ValueExpression |
Fold.initial |
ValueExpression |
BinaryValueExpression.left |
ValueExpression |
Elvis.left |
ValueExpression |
UnaryValueExpression.operand |
ValueExpression |
BinaryValueExpression.right |
ValueExpression |
Elvis.right |
ValueExpression |
Fold.values |
ValueExpression |
Reverse.values |
| Modifier and Type | Method and Description |
|---|---|
protected ValueExpression |
FoldRight.reduce(Reducer reducer,
Value head,
Value tail) |
protected abstract ValueExpression |
Fold.reduce(Reducer reducer,
Value head,
Value tail) |
protected ValueExpression |
FoldLeft.reduce(Reducer reducer,
Value head,
Value tail) |
ValueExpression |
Reducer.reduce(ValueExpression left,
ValueExpression right) |
| Modifier and Type | Method and Description |
|---|---|
ValueExpression |
Reducer.reduce(ValueExpression left,
ValueExpression right) |
| Constructor and Description |
|---|
BinaryValueExpression(ValueExpression left,
ValueExpression right) |
Cat(ValueExpression left,
ValueExpression right) |
Elvis(ValueExpression left,
ValueExpression right) |
Fold(ValueExpression values,
Reducer reducer,
ValueExpression initial) |
FoldLeft(ValueExpression values,
Reducer reducer,
ValueExpression initial) |
FoldRight(ValueExpression values,
Reducer reducer,
ValueExpression initial) |
Reverse(ValueExpression values) |
UnaryValueExpression(ValueExpression operand) |
| Modifier and Type | Class and Description |
|---|---|
class |
Add
A
BinaryValueExpression that implements integer addition. |
class |
Div
A
BinaryValueExpression that implements integer division. |
class |
Mod
A
BinaryValueExpression that implements the modulo operation. |
class |
Mul
A
BinaryValueExpression that implements integer multiplication. |
class |
Neg
A
UnaryValueExpression that implements integer negation. |
class |
Sub
A
BinaryValueExpression that implements integer subtraction. |
| Constructor and Description |
|---|
Add(ValueExpression left,
ValueExpression right) |
Div(ValueExpression left,
ValueExpression right) |
Mod(ValueExpression left,
ValueExpression right) |
Mul(ValueExpression left,
ValueExpression right) |
Neg(ValueExpression operand) |
Sub(ValueExpression left,
ValueExpression right) |
| Modifier and Type | Class and Description |
|---|---|
class |
And
A
BinaryValueExpression that implements the bitwise AND operator. |
class |
Not
A
UnaryValueExpression that implements the bitwise NOT operator. |
class |
Or
A
BinaryValueExpression that implements the bitwise OR operator. |
class |
ShiftLeft
A
BinaryValueExpression that implements the bitwise left shift
operation. |
class |
ShiftRight
A
BinaryValueExpression that implements the bitwise right shift
operation. |
| Constructor and Description |
|---|
And(ValueExpression left,
ValueExpression right) |
Not(ValueExpression operand) |
Or(ValueExpression left,
ValueExpression right) |
ShiftLeft(ValueExpression operand,
ValueExpression positions) |
ShiftRight(ValueExpression operand,
ValueExpression positions) |
| Modifier and Type | Class and Description |
|---|---|
class |
Count
|
class |
CurrentOffset
A
ValueExpression that represents the current offset in the parse
state. |
class |
First
|
class |
Last
|
class |
Len
A
UnaryValueExpression that represents the sizes (in bytes) of all
OptionalValues returned by evaluating its operand. |
class |
NameRef
|
class |
Nth
A
ValueExpression that returns an indexed list of
OptionalValues. |
class |
Offset
A
ValueExpression that represents the offset of the
OptionalValues returned by evaluating its operand. |
class |
Self
A
ValueExpression that represents the
Value most recently added to
the parse state. |
class |
TokenRef
|
| Modifier and Type | Field and Description |
|---|---|
ValueExpression |
Nth.indices |
ValueExpression |
Last.operand |
ValueExpression |
Count.operand |
ValueExpression |
First.operand |
ValueExpression |
Nth.values |
| Constructor and Description |
|---|
Count(ValueExpression operand) |
First(ValueExpression operand) |
Last(ValueExpression operand) |
Len(ValueExpression operand) |
Nth(ValueExpression values,
ValueExpression indices) |
Offset(ValueExpression operand) |
| Modifier and Type | Field and Description |
|---|---|
ValueExpression |
Sub.address |
ValueExpression |
Tie.dataExpression |
ValueExpression |
RepN.n |
ValueExpression |
Def.size |
ValueExpression |
Nod.size |
| Constructor and Description |
|---|
Def(String name,
ValueExpression size,
Expression predicate,
Encoding encoding) |
Nod(String name,
ValueExpression size,
Encoding encoding) |
RepN(String name,
Token token,
ValueExpression n,
Encoding encoding) |
Sub(String name,
Token token,
ValueExpression address,
Encoding encoding) |
Tie(String name,
Token token,
ValueExpression dataExpression,
Encoding encoding) |
Copyright © 2017. All rights reserved.