public class Neg extends UnaryValueExpression
UnaryValueExpression that implements integer negation.operand| Constructor and Description |
|---|
Neg(ValueExpression operand) |
| Modifier and Type | Method and Description |
|---|---|
OptionalValue |
eval(Value value,
Environment environment,
Encoding encoding) |
eval, toStringpublic Neg(ValueExpression operand)
public OptionalValue eval(Value value, Environment environment, Encoding encoding)
eval in class UnaryValueExpressionCopyright © 2017. All rights reserved.