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