class_docstr: The PrettyPrinter used to print all HoloView objects via the
  pprint method.
class_docstr_tok: ["The","PrettyPrinter","used","to","print","all","HoloView","objects","via","the","pprint","method","."]
docstr: Return the type.group.label dotted information
docstr_tok: ["Return","the","type.group.label","dotted","information"]
code: def component_type(cls_or_slf, node):
      "Return the type.group.label dotted information"
      if node is None:
          return ""
      return cls_or_slf.type_formatter.format(
          type=str(type(node).__name__)
      )
  
imports: import re
  import textwrap
  import param
  from param.ipython import ParamPager
  from param.parameterized import bothmethod
  from .util import group_sanitizer, label_sanitizer
label_desc: Use image node_id 5 for calling the PrettyPrinter obj's underlying member method code with example usage: obj.component_type(cls_or_slf, node) and returns: cls_or_slf, str