docs: static void addFunction(final String name, final Expression expr) {
      if (name == null || name.isEmpty()) {
        throw new IllegalArgumentException("Missing function name");
      }
      if (expr == null) {
        throw new IllegalArgumentException("Function cannot be null");
      }
      available_functions.put(name, expr);
    }