public class Offset extends UnaryValueExpression
ValueExpression that represents the offset of the
OptionalValues 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 |
|---|---|
OptionalValue |
eval(Value value,
Environment environment,
Encoding encoding) |
eval, toStringpublic Offset(ValueExpression operand)
public OptionalValue eval(Value value, Environment environment, Encoding encoding)
eval in class UnaryValueExpressionCopyright © 2017. All rights reserved.