parameters: (f: F)
return_statement: return pass_environment(f)
docstring: Pass the environment as the first argument to the decorated
      function.
  
      .. deprecated:: 3.0
          Will be removed in Jinja 3.1. Use
          :func:`~jinja2.pass_environment` instead.
docstring_summary: Pass the environment as the first argument to the decorated
      function.
docstring_tokens: Pass the environment as the first argument to the decorated function .
function: def environmentfilter(f: F) -> F:
      """Pass the environment as the first argument to the decorated
      function.
  
      .. deprecated:: 3.0
          Will be removed in Jinja 3.1. Use
          :func:`~jinja2.pass_environment` instead.
      """
      warnings.warn(
          "'environmentfilter' is renamed to 'pass_environment', the old"
          " name will be removed in Jinja 3.1.",
          DeprecationWarning,
          stacklevel=2,
      )
      return pass_environment(f)
function_tokens: def environmentfilter ( f : F ) -> F : warnings . warn ( "'environmentfilter' is renamed to 'pass_environment', the old" " name will be removed in Jinja 3.1." , DeprecationWarning , stacklevel = 2 , ) return pass_environment ( f )