*/
public class SubtractFunction extends NonEscapingFunction {
public Value execute(Value... args) {
if (args.length == 1) {
Value value = args[0];
return literalConstant(0 - value.asNumber(), value);
} else {
Value left = args[0];
Value right = args[1];
return literalConstant(left.asNumber() - right.asNumber(), left, right);
}
}