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: Recursive function that builds up an ASCII tree given an
  AttrTree node.
docstr_tok: ["Recursive","function","that","builds","up","an","ASCII","tree","given","an","AttrTree","node","."]
code: def recurse(
      cls_or_slf,
      node,
      attrpath=None,
      attrpaths=None,
      siblings=None,
      level=0,
      value_dims=True,
  ):
      """
      Recursive function that builds up an ASCII tree given an
      AttrTree node.
      """
      if siblings is None:
          siblings = []
      if attrpaths is None:
          attrpaths = []
      level, lines = cls_or_slf.node_info(
          node, attrpath, attrpaths, siblings, level, value_dims
      )
      attrpaths = (
          [".".join(k) for k in node.keys()]
          if hasattr(node, "children")
          else []
      )
      siblings = [node.get(child) for child in attrpaths]
      for attrpath in attrpaths:
          lines += cls_or_slf.recurse(
              node.get(attrpath),
              attrpath,
              attrpaths=attrpaths,
              siblings=siblings,
              level=level + 1,
              value_dims=value_dims,
          )
      return lines
  
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 6 for calling the PrettyPrinter obj's underlying member method code with example usage: obj.recurse(cls_or_slf, node, attrpath, attrpaths, siblings, level, value_dims) and returns: lines