code: function processIgnores (visitor) {
      for (const ignorePattern of options.ignores) {
        const key = `${ignorePattern}:exit`
  
        if (visitor.hasOwnProperty(key)) {
          const handler = visitor[key]
          visitor[key] = function (node) {
            const ret = handler.apply(this, arguments)
            ignore(node)
            return ret
          }
        } else {
          visitor[key] = ignore
        }
      }
  
      return visitor
    }
docs: Define functions to ignore nodes into the given visitor.
  @param {Object} visitor The visitor to define functions to ignore nodes.
  @returns {Object} The visitor.