parameters: ()
docstring: List available stat visitors and their documentation
docstring_summary: List available stat visitors and their documentation
docstring_tokens: List available stat visitors and their documentation
function: def printStatVisitorTypes():
      """List available stat visitors and their documentation"""
  
      import inspect
  
      def print_doc(doc):
          for line in doc.splitlines():
              print("| %s" % line)
          print()
  
      enabled_visitors = [ x for x in all_factories if x[2] ]
      for factory, schemes, _ in enabled_visitors:
          print("%s:" % ", ".join(filter(lambda x: x is not None, schemes)))
  
          # Try to extract the factory doc string
          print_doc(inspect.getdoc(factory))
function_tokens: def printStatVisitorTypes ( ) : import inspect def print_doc ( doc ) : for line in doc . splitlines ( ) : print ( "| %s" % line ) print ( ) enabled_visitors = [ x for x in all_factories if x [ 2 ] ] for factory , schemes , _ in enabled_visitors : print ( "%s:" % ", " . join ( filter ( lambda x : x is not None , schemes ) ) ) # Try to extract the factory doc string print_doc ( inspect . getdoc ( factory ) )