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

Side by Side Diff: src/ast/ast-traversal-visitor.h

Issue 2703563002: [ESNext] Implement DynamicImportCall (Closed)
Patch Set: rebase Created 3 years, 8 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/ast/ast-numbering.cc ('k') | src/ast/prettyprinter.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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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 #ifndef V8_AST_AST_TRAVERSAL_VISITOR_H_ 5 #ifndef V8_AST_AST_TRAVERSAL_VISITOR_H_
6 #define V8_AST_AST_TRAVERSAL_VISITOR_H_ 6 #define V8_AST_AST_TRAVERSAL_VISITOR_H_
7 7
8 #include "src/ast/ast.h" 8 #include "src/ast/ast.h"
9 #include "src/ast/scopes.h" 9 #include "src/ast/scopes.h"
10 10
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 PROCESS_EXPRESSION(expr); 470 PROCESS_EXPRESSION(expr);
471 } 471 }
472 472
473 template <class Subclass> 473 template <class Subclass>
474 void AstTraversalVisitor<Subclass>::VisitGetIterator(GetIterator* expr) { 474 void AstTraversalVisitor<Subclass>::VisitGetIterator(GetIterator* expr) {
475 PROCESS_EXPRESSION(expr); 475 PROCESS_EXPRESSION(expr);
476 RECURSE_EXPRESSION(Visit(expr->iterable())); 476 RECURSE_EXPRESSION(Visit(expr->iterable()));
477 } 477 }
478 478
479 template <class Subclass> 479 template <class Subclass>
480 void AstTraversalVisitor<Subclass>::VisitImportCallExpression(
481 ImportCallExpression* expr) {
482 PROCESS_EXPRESSION(expr);
483 RECURSE_EXPRESSION(Visit(expr->argument()));
484 }
485
486 template <class Subclass>
480 void AstTraversalVisitor<Subclass>::VisitSuperPropertyReference( 487 void AstTraversalVisitor<Subclass>::VisitSuperPropertyReference(
481 SuperPropertyReference* expr) { 488 SuperPropertyReference* expr) {
482 PROCESS_EXPRESSION(expr); 489 PROCESS_EXPRESSION(expr);
483 RECURSE_EXPRESSION(VisitVariableProxy(expr->this_var())); 490 RECURSE_EXPRESSION(VisitVariableProxy(expr->this_var()));
484 RECURSE_EXPRESSION(Visit(expr->home_object())); 491 RECURSE_EXPRESSION(Visit(expr->home_object()));
485 } 492 }
486 493
487 template <class Subclass> 494 template <class Subclass>
488 void AstTraversalVisitor<Subclass>::VisitSuperCallReference( 495 void AstTraversalVisitor<Subclass>::VisitSuperCallReference(
489 SuperCallReference* expr) { 496 SuperCallReference* expr) {
(...skipping 12 matching lines...) Expand all
502 509
503 #undef PROCESS_NODE 510 #undef PROCESS_NODE
504 #undef PROCESS_EXPRESSION 511 #undef PROCESS_EXPRESSION
505 #undef RECURSE_EXPRESSION 512 #undef RECURSE_EXPRESSION
506 #undef RECURSE 513 #undef RECURSE
507 514
508 } // namespace internal 515 } // namespace internal
509 } // namespace v8 516 } // namespace v8
510 517
511 #endif // V8_AST_AST_TRAVERSAL_VISITOR_H_ 518 #endif // V8_AST_AST_TRAVERSAL_VISITOR_H_
OLDNEW
« no previous file with comments | « src/ast/ast-numbering.cc ('k') | src/ast/prettyprinter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698