Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: src/typing.cc

Issue 948303004: Re-introduce ImportDeclaration to the parser (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Merged to trunk so I can run tryjobs Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/runtime/runtime-scopes.cc ('k') | src/variables.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « src/runtime/runtime-scopes.cc ('k') | src/variables.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698