function visit(path) {
      /*jshint validthis:true */
      if (!filter || matchNode(path.value, filter)) {
        paths.push(path);
      }
      this.traverse(path);
    }
Find nodes of a specific type within the nodes of this collection.

@param {type}
@param {filter}
@return {Collection}