code: function inspect(node, pad) {
    var result
    var children
    var index
    var length
  
    if (node && Boolean(node.length) && typeof node !== 'string') {
      length = node.length
      index = -1
      result = []
  
      while (++index < length) {
        result[index] = inspect(node[index])
      }
  
      return result.join('\n')
    }
  
    if (!node || !node.type) {
      return String(node)
    }
  
    result = [formatNode(node)]
    children = node.children
    length = children && children.length
    index = -1
  
    if (!length) {
      return result[0]
    }
  
    if (!pad || typeof pad === 'number') {
      pad = ''
    }
  
    while (++index < length) {
      node = children[index]
  
      if (index === length - 1) {
        result.push(formatNesting(pad + '└─ ') + inspect(node, pad + '   '))
      } else {
        result.push(formatNesting(pad + '├─ ') + inspect(node, pad + '│  '))
      }
    }
  
    return result.join('\n')
  }
docs: Inspects a node.