index.js
function transformFactory(methods) {
  var length = methods.length

  return transformer

  // Transformer.
  function transformer(cst) {
    visit(cst, visitor)
  }

  function visitor(node, position, parent) {
    var index = -1

    if (node.type === punctuation || node.type === symbol) {
      while (++index < length) {
        methods[index](node, position, parent)
      }
    }
  }
}
function transformFactory(methods) {
  var length = methods.length

  return transformer

  // Transformer.
  function transformer(cst) {
    visit(cst, visitor)
  }

  function visitor(node, position, parent) {
    var index = -1

    if (node.type === punctuation || node.type === symbol) {
      while (++index < length) {
        methods[index](node, position, parent)
      }
    }
  }
}
function transformFactory ( methods ) { var length = methods . length return transformer // Transformer. function transformer ( cst ) { visit ( cst , visitor ) } function visitor ( node , position , parent ) { var index = - 1 if ( node . type === punctuation || node . type === symbol ) { while ( ++ index < length ) { methods [ index ] ( node , position , parent ) } } } }
Create a transformer for the bound methods.
Create a transformer for the bound methods .