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 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
754 } | 754 } |
755 | 755 |
756 | 756 |
757 void AstTyper::VisitSpread(Spread* expr) { RECURSE(Visit(expr->expression())); } | 757 void AstTyper::VisitSpread(Spread* expr) { RECURSE(Visit(expr->expression())); } |
758 | 758 |
759 | 759 |
760 void AstTyper::VisitThisFunction(ThisFunction* expr) { | 760 void AstTyper::VisitThisFunction(ThisFunction* expr) { |
761 } | 761 } |
762 | 762 |
763 | 763 |
764 void AstTyper::VisitSuperReference(SuperReference* expr) {} | 764 void AstTyper::VisitSuperPropertyReference(SuperPropertyReference* expr) {} |
| 765 |
| 766 |
| 767 void AstTyper::VisitSuperCallReference(SuperCallReference* expr) {} |
765 | 768 |
766 | 769 |
767 void AstTyper::VisitDeclarations(ZoneList<Declaration*>* decls) { | 770 void AstTyper::VisitDeclarations(ZoneList<Declaration*>* decls) { |
768 for (int i = 0; i < decls->length(); ++i) { | 771 for (int i = 0; i < decls->length(); ++i) { |
769 Declaration* decl = decls->at(i); | 772 Declaration* decl = decls->at(i); |
770 RECURSE(Visit(decl)); | 773 RECURSE(Visit(decl)); |
771 } | 774 } |
772 } | 775 } |
773 | 776 |
774 | 777 |
775 void AstTyper::VisitVariableDeclaration(VariableDeclaration* declaration) { | 778 void AstTyper::VisitVariableDeclaration(VariableDeclaration* declaration) { |
776 } | 779 } |
777 | 780 |
778 | 781 |
779 void AstTyper::VisitFunctionDeclaration(FunctionDeclaration* declaration) { | 782 void AstTyper::VisitFunctionDeclaration(FunctionDeclaration* declaration) { |
780 RECURSE(Visit(declaration->fun())); | 783 RECURSE(Visit(declaration->fun())); |
781 } | 784 } |
782 | 785 |
783 | 786 |
784 void AstTyper::VisitImportDeclaration(ImportDeclaration* declaration) { | 787 void AstTyper::VisitImportDeclaration(ImportDeclaration* declaration) { |
785 } | 788 } |
786 | 789 |
787 | 790 |
788 void AstTyper::VisitExportDeclaration(ExportDeclaration* declaration) { | 791 void AstTyper::VisitExportDeclaration(ExportDeclaration* declaration) { |
789 } | 792 } |
790 | 793 |
791 | 794 |
792 } } // namespace v8::internal | 795 } } // namespace v8::internal |
OLD | NEW |