| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/typing.h" | 5 #include "src/typing.h" |
| 6 | 6 |
| 7 #include "src/frames.h" | 7 #include "src/frames.h" |
| 8 #include "src/frames-inl.h" | 8 #include "src/frames-inl.h" |
| 9 #include "src/ostreams.h" | 9 #include "src/ostreams.h" |
| 10 #include "src/parser.h" // for CompileTimeValue; TODO(rossberg): should move | 10 #include "src/parser.h" // for CompileTimeValue; TODO(rossberg): should move |
| (...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 777 RECURSE(Visit(declaration->fun())); | 777 RECURSE(Visit(declaration->fun())); |
| 778 } | 778 } |
| 779 | 779 |
| 780 | 780 |
| 781 void AstTyper::VisitModuleDeclaration(ModuleDeclaration* declaration) { | 781 void AstTyper::VisitModuleDeclaration(ModuleDeclaration* declaration) { |
| 782 RECURSE(Visit(declaration->module())); | 782 RECURSE(Visit(declaration->module())); |
| 783 } | 783 } |
| 784 | 784 |
| 785 | 785 |
| 786 void AstTyper::VisitImportDeclaration(ImportDeclaration* declaration) { | 786 void AstTyper::VisitImportDeclaration(ImportDeclaration* declaration) { |
| 787 RECURSE(Visit(declaration->module())); | |
| 788 } | 787 } |
| 789 | 788 |
| 790 | 789 |
| 791 void AstTyper::VisitExportDeclaration(ExportDeclaration* declaration) { | 790 void AstTyper::VisitExportDeclaration(ExportDeclaration* declaration) { |
| 792 } | 791 } |
| 793 | 792 |
| 794 | 793 |
| 795 void AstTyper::VisitModuleLiteral(ModuleLiteral* module) { | 794 void AstTyper::VisitModuleLiteral(ModuleLiteral* module) { |
| 796 RECURSE(Visit(module->body())); | 795 RECURSE(Visit(module->body())); |
| 797 } | 796 } |
| 798 | 797 |
| 799 | 798 |
| 800 void AstTyper::VisitModulePath(ModulePath* module) { | 799 void AstTyper::VisitModulePath(ModulePath* module) { |
| 801 RECURSE(Visit(module->module())); | 800 RECURSE(Visit(module->module())); |
| 802 } | 801 } |
| 803 | 802 |
| 804 | 803 |
| 805 void AstTyper::VisitModuleUrl(ModuleUrl* module) { | 804 void AstTyper::VisitModuleUrl(ModuleUrl* module) { |
| 806 } | 805 } |
| 807 | 806 |
| 808 | 807 |
| 809 void AstTyper::VisitModuleStatement(ModuleStatement* stmt) { | 808 void AstTyper::VisitModuleStatement(ModuleStatement* stmt) { |
| 810 RECURSE(Visit(stmt->body())); | 809 RECURSE(Visit(stmt->body())); |
| 811 } | 810 } |
| 812 | 811 |
| 813 | 812 |
| 814 } } // namespace v8::internal | 813 } } // namespace v8::internal |
| OLD | NEW |