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

Side by Side Diff: src/parsing/preparser.h

Issue 2316233004: Class fields, part 2 (desugaring) (Closed)
Patch Set: rebase harder Created 4 years, 3 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/parser-base.h ('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/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/parsing/parser-base.h" 9 #include "src/parsing/parser-base.h"
10 10
(...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after
862 return list; 862 return list;
863 } 863 }
864 864
865 V8_INLINE PreParserExpression SpreadCall(PreParserExpression function, 865 V8_INLINE PreParserExpression SpreadCall(PreParserExpression function,
866 PreParserExpressionList args, 866 PreParserExpressionList args,
867 int pos); 867 int pos);
868 V8_INLINE PreParserExpression SpreadCallNew(PreParserExpression function, 868 V8_INLINE PreParserExpression SpreadCallNew(PreParserExpression function,
869 PreParserExpressionList args, 869 PreParserExpressionList args,
870 int pos); 870 int pos);
871 871
872 V8_INLINE PreParserExpression
873 RewriteSuperCall(PreParserExpression call_expression) {
874 return call_expression;
875 }
876
872 V8_INLINE void RewriteDestructuringAssignments() {} 877 V8_INLINE void RewriteDestructuringAssignments() {}
873 878
874 V8_INLINE PreParserExpression RewriteExponentiation(PreParserExpression left, 879 V8_INLINE PreParserExpression RewriteExponentiation(PreParserExpression left,
875 PreParserExpression right, 880 PreParserExpression right,
876 int pos) { 881 int pos) {
877 return left; 882 return left;
878 } 883 }
879 V8_INLINE PreParserExpression RewriteAssignExponentiation( 884 V8_INLINE PreParserExpression RewriteAssignExponentiation(
880 PreParserExpression left, PreParserExpression right, int pos) { 885 PreParserExpression left, PreParserExpression right, int pos) {
881 return left; 886 return left;
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
1291 function_state_->NextMaterializedLiteralIndex(); 1296 function_state_->NextMaterializedLiteralIndex();
1292 function_state_->NextMaterializedLiteralIndex(); 1297 function_state_->NextMaterializedLiteralIndex();
1293 } 1298 }
1294 return EmptyExpression(); 1299 return EmptyExpression();
1295 } 1300 }
1296 1301
1297 } // namespace internal 1302 } // namespace internal
1298 } // namespace v8 1303 } // namespace v8
1299 1304
1300 #endif // V8_PARSING_PREPARSER_H 1305 #endif // V8_PARSING_PREPARSER_H
OLDNEW
« no previous file with comments | « src/parsing/parser-base.h ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698