original_docstring: 
      Decorator to create consistent evaluation trace logging.
      This only works for a class with a ``level`` attribute.
      This is generally applied to the methods matching rule names.
      
docstring: Decorator to create consistent evaluation trace logging.
  This only works for a class with a ``level`` attribute.
  This is generally applied to the methods matching rule names.
docstring_tokens: Decorator to create consistent evaluation trace logging . This only works for a class with a ` ` level ` ` attribute . This is generally applied to the methods matching rule names .
code: def trace(
          method: Callable[['Evaluator', lark.Tree], Any]) -> Callable[['Evaluator', lark.Tree], Any]:
      """
      Decorator to create consistent evaluation trace logging.
      This only works for a class with a ``level`` attribute.
      This is generally applied to the methods matching rule names.
      """
      @wraps(method)
      def concrete_method(self: 'Evaluator', tree: lark.Tree) -> Any:
          self.logger.info(f"{self.level*'  '}{tree!r}")
          result = method(self, tree)
          self.logger.info(f"{self.level*'  '}{tree.data} -> {result!r}")
          return result
      return concrete_method
code_tokens: def trace ( method : Callable [ [ 'Evaluator' , lark . Tree ] , Any ] ) -> Callable [ [ 'Evaluator' , lark . Tree ] , Any ] : @ wraps ( method ) def concrete_method ( self : 'Evaluator' , tree : lark . Tree ) -> Any : self . logger . info ( f"{self.level*'  '}{tree!r}" ) result = method ( self , tree ) self . logger . info ( f"{self.level*'  '}{tree.data} -> {result!r}" ) return result return concrete_method
short_docstring: Decorator to create consistent evaluation trace logging.
short_docstring_tokens: Decorator to create consistent evaluation trace logging .
comment: """
      Decorator to create consistent evaluation trace logging.
      This only works for a class with a ``level`` attribute.
      This is generally applied to the methods matching rule names.
      """