env.bind("$negate", _theContext.createFunction(new Function() {
public Object apply(Object[] args) {
try {
ScalarToken a = (ScalarToken) args[0];
return a.zero().subtract(a);
} catch (Exception ex) {
throw new FunctionCallException("$negate", args[0], ex);
}
}