| Modifier and Type | Field and Description |
|---|---|
static ValueExpression |
Shorthand.CURRENT_OFFSET |
static ValueExpression |
Shorthand.SELF |
| Modifier and Type | Field and Description |
|---|---|
ValueExpression |
DataExpressionSource.dataExpression |
| Modifier and Type | Method and Description |
|---|---|
ParseState |
ParseState.source(ValueExpression dataExpression,
int index,
ParseState parseState,
Encoding encoding) |
| Constructor and Description |
|---|
DataExpressionSource(ValueExpression dataExpression,
int index,
ParseState parseState,
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) |
GtEqNum(ValueExpression value,
ValueExpression predicate) |
GtNum(ValueExpression value,
ValueExpression predicate) |
LtEqNum(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 |
Bytes
A
ValueExpression that splits the results of evaluating its operand
into individual bytes. |
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 |
Expand
A
ValueExpression that expands a result by copying and concatenating
it a specified amount of times. |
class |
Fold
Base class for
ValueExpression implementations of the Fold
operation. |
class |
FoldCat
A
ValueExpression that represents an optimized version of a
FoldLeft operation with a Cat ValueExpression as reducer. |
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 |
Expand.base |
ValueExpression |
Expand.count |
ValueExpression |
Fold.initial |
ValueExpression |
BinaryValueExpression.left |
ValueExpression |
Elvis.left |
ValueExpression |
Bytes.operand |
ValueExpression |
UnaryValueExpression.operand |
ValueExpression |
FoldCat.operand |
ValueExpression |
BinaryValueExpression.right |
ValueExpression |
Elvis.right |
ValueExpression |
Fold.values |
ValueExpression |
Reverse.values |
| Modifier and Type | Field and Description |
|---|---|
BinaryOperator<ValueExpression> |
Fold.reducer |
| Modifier and Type | Method and Description |
|---|---|
protected ValueExpression |
FoldLeft.reduce(BinaryOperator<ValueExpression> reducer,
Value head,
Value tail) |
protected abstract ValueExpression |
Fold.reduce(BinaryOperator<ValueExpression> reducer,
Value head,
Value tail) |
protected ValueExpression |
FoldRight.reduce(BinaryOperator<ValueExpression> reducer,
Value head,
Value tail) |
| Modifier and Type | Method and Description |
|---|---|
protected ValueExpression |
FoldLeft.reduce(BinaryOperator<ValueExpression> reducer,
Value head,
Value tail) |
protected abstract ValueExpression |
Fold.reduce(BinaryOperator<ValueExpression> reducer,
Value head,
Value tail) |
protected ValueExpression |
FoldRight.reduce(BinaryOperator<ValueExpression> reducer,
Value head,
Value tail) |
| Constructor and Description |
|---|
BinaryValueExpression(ValueExpression left,
ValueExpression right) |
Bytes(ValueExpression operand) |
Cat(ValueExpression left,
ValueExpression right) |
Elvis(ValueExpression left,
ValueExpression right) |
Expand(ValueExpression base,
ValueExpression count) |
Fold(ValueExpression values,
BinaryOperator<ValueExpression> reducer,
ValueExpression initial) |
FoldCat(ValueExpression operand) |
FoldLeft(ValueExpression values,
BinaryOperator<ValueExpression> reducer,
ValueExpression initial) |
FoldRight(ValueExpression values,
BinaryOperator<ValueExpression> reducer,
ValueExpression initial) |
Reverse(ValueExpression values) |
UnaryValueExpression(ValueExpression operand) |
| Constructor and Description |
|---|
Fold(ValueExpression values,
BinaryOperator<ValueExpression> reducer,
ValueExpression initial) |
FoldLeft(ValueExpression values,
BinaryOperator<ValueExpression> reducer,
ValueExpression initial) |
FoldRight(ValueExpression values,
BinaryOperator<ValueExpression> reducer,
ValueExpression initial) |
| 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
ParseState. |
class |
First
|
class |
Last
|
class |
Len
A
UnaryValueExpression that represents the sizes (in bytes) of all
Values returned by evaluating its operand. |
class |
Nth
A
ValueExpression that returns an indexed list of Values. |
class |
Offset
|
class |
Ref<T>
A
ValueExpression that represents all Values in the parse
state that match a provided object. |
static class |
Ref.DefinitionRef |
static class |
Ref.NameRef |
class |
Self
A
ValueExpression that represents the
Value most recently added to
the parse state. |
| Modifier and Type | Field and Description |
|---|---|
ValueExpression |
Nth.indices |
ValueExpression |
Ref.limit |
ValueExpression |
Last.operand |
ValueExpression |
First.operand |
ValueExpression |
Count.operand |
ValueExpression |
Nth.values |
| Constructor and Description |
|---|
Count(ValueExpression operand) |
DefinitionRef(Token reference,
ValueExpression limit) |
First(ValueExpression operand) |
Last(ValueExpression operand) |
Len(ValueExpression operand) |
NameRef(String reference,
ValueExpression limit) |
Nth(ValueExpression values,
ValueExpression indices) |
Offset(ValueExpression operand) |
| Modifier and Type | Field and Description |
|---|---|
ValueExpression |
Sub.address |
ValueExpression |
Tie.dataExpression |
static ValueExpression |
Until.DEFAULT_INITIAL |
static ValueExpression |
Until.DEFAULT_MAX |
static ValueExpression |
Until.DEFAULT_STEP |
ValueExpression |
Until.initialSize |
ValueExpression |
Until.maxSize |
ValueExpression |
RepN.n |
ValueExpression |
Def.size |
ValueExpression |
Until.stepSize |
| Constructor and Description |
|---|
Def(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) |
Until(String name,
ValueExpression initialSize,
ValueExpression stepSize,
ValueExpression maxSize,
Token terminator,
Encoding encoding) |
Copyright © 2017. All rights reserved.