예제 #1
0
 static void traverseRootsTyped(AbstractCompiler compiler, Callback cb, Node externs, Node root) {
   NodeTraversal t = new NodeTraversal(compiler, cb, SyntacticScopeCreator.makeTyped(compiler));
   t.traverseRoots(externs, root);
 }
예제 #2
0
 public static void traverseTyped(AbstractCompiler compiler, Node root, Callback cb) {
   NodeTraversal t = new NodeTraversal(compiler, cb, SyntacticScopeCreator.makeTyped(compiler));
   t.traverse(root);
 }