code: public static void traverse(AbstractCompiler compiler, Node root, Callback cb) {
      NodeTraversal t = new NodeTraversal(compiler, cb, new Es6SyntacticScopeCreator(compiler));
      t.traverse(root);
    }
docs: Traverses using the ES6SyntacticScopeCreator