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

Side by Side Diff: src/parsing/preparser.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/parsing/pattern-rewriter.cc ('k') | src/runtime/runtime.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_PARSING_PREPARSER_H 5 #ifndef V8_PARSING_PREPARSER_H
6 #define V8_PARSING_PREPARSER_H 6 #define V8_PARSING_PREPARSER_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 #include "src/parsing/parser-base.h" 10 #include "src/parsing/parser-base.h"
(...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after
768 int pos) { 768 int pos) {
769 return PreParserStatement::Default(); 769 return PreParserStatement::Default();
770 } 770 }
771 771
772 PreParserExpression NewCallRuntime(Runtime::FunctionId id, 772 PreParserExpression NewCallRuntime(Runtime::FunctionId id,
773 ZoneList<PreParserExpression>* arguments, 773 ZoneList<PreParserExpression>* arguments,
774 int pos) { 774 int pos) {
775 return PreParserExpression::Default(); 775 return PreParserExpression::Default();
776 } 776 }
777 777
778 PreParserExpression NewImportCallExpression(PreParserExpression args,
779 int pos) {
780 return PreParserExpression::Default();
781 }
782
778 // Return the object itself as AstVisitor and implement the needed 783 // Return the object itself as AstVisitor and implement the needed
779 // dummy method right in this class. 784 // dummy method right in this class.
780 PreParserFactory* visitor() { return this; } 785 PreParserFactory* visitor() { return this; }
781 int* ast_properties() { 786 int* ast_properties() {
782 static int dummy = 42; 787 static int dummy = 42;
783 return &dummy; 788 return &dummy;
784 } 789 }
785 790
786 private: 791 private:
787 AstValueFactory* ast_value_factory_; 792 AstValueFactory* ast_value_factory_;
(...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after
1676 PreParserExpression PreParser::CloseTemplateLiteral(TemplateLiteralState* state, 1681 PreParserExpression PreParser::CloseTemplateLiteral(TemplateLiteralState* state,
1677 int start, 1682 int start,
1678 PreParserExpression tag) { 1683 PreParserExpression tag) {
1679 return EmptyExpression(); 1684 return EmptyExpression();
1680 } 1685 }
1681 1686
1682 } // namespace internal 1687 } // namespace internal
1683 } // namespace v8 1688 } // namespace v8
1684 1689
1685 #endif // V8_PARSING_PREPARSER_H 1690 #endif // V8_PARSING_PREPARSER_H
OLDNEW
« no previous file with comments | « src/parsing/pattern-rewriter.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698