public class Offset extends UnaryValueExpression
ValueExpression that represents the offset of the Values
returned by evaluating its operand.
Only ParseValues have an offset, since they originate in the input.
If a result does not have an offset (such as the Values returned by
Const), empty is returned.
operand| Constructor and Description |
|---|
Offset(ValueExpression operand) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Value> |
eval(Value value,
ParseState parseState,
Encoding encoding) |
equals, eval, hashCode, toStringpublic Offset(ValueExpression operand)
public Optional<Value> eval(Value value, ParseState parseState, Encoding encoding)
eval in class UnaryValueExpressionCopyright © 2017. All rights reserved.