1 module.exports = function walk(nodes, cb, bubble) {
2 var i, max, node, result;
4 for (i = 0, max = nodes.length; i < max; i += 1) {
7 result = cb(node, i, nodes);
12 node.type === "function" &&
13 Array.isArray(node.nodes)
15 walk(node.nodes, cb, bubble);