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

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

Issue 2316373006: [cleanup] Remove unused PreParser factory method (Closed)
Patch Set: 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 | « no previous file | no next file » | 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 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 PreParserExpression NewNumberLiteral(double number, 465 PreParserExpression NewNumberLiteral(double number,
466 int pos) { 466 int pos) {
467 return PreParserExpression::Default(); 467 return PreParserExpression::Default();
468 } 468 }
469 PreParserExpression NewRegExpLiteral(PreParserIdentifier js_pattern, 469 PreParserExpression NewRegExpLiteral(PreParserIdentifier js_pattern,
470 int js_flags, int literal_index, 470 int js_flags, int literal_index,
471 int pos) { 471 int pos) {
472 return PreParserExpression::Default(); 472 return PreParserExpression::Default();
473 } 473 }
474 PreParserExpression NewArrayLiteral(PreParserExpressionList values, 474 PreParserExpression NewArrayLiteral(PreParserExpressionList values,
475 int literal_index,
476 int pos) {
477 return PreParserExpression::ArrayLiteral();
478 }
479 PreParserExpression NewArrayLiteral(PreParserExpressionList values,
480 int first_spread_index, int literal_index, 475 int first_spread_index, int literal_index,
481 int pos) { 476 int pos) {
482 return PreParserExpression::ArrayLiteral(); 477 return PreParserExpression::ArrayLiteral();
483 } 478 }
484 PreParserExpression NewClassLiteralProperty(PreParserExpression key, 479 PreParserExpression NewClassLiteralProperty(PreParserExpression key,
485 PreParserExpression value, 480 PreParserExpression value,
486 ClassLiteralProperty::Kind kind, 481 ClassLiteralProperty::Kind kind,
487 bool is_static, 482 bool is_static,
488 bool is_computed_name) { 483 bool is_computed_name) {
489 return PreParserExpression::Default(); 484 return PreParserExpression::Default();
(...skipping 798 matching lines...) Expand 10 before | Expand all | Expand 10 after
1288 function_state_->NextMaterializedLiteralIndex(); 1283 function_state_->NextMaterializedLiteralIndex();
1289 function_state_->NextMaterializedLiteralIndex(); 1284 function_state_->NextMaterializedLiteralIndex();
1290 } 1285 }
1291 return EmptyExpression(); 1286 return EmptyExpression();
1292 } 1287 }
1293 1288
1294 } // namespace internal 1289 } // namespace internal
1295 } // namespace v8 1290 } // namespace v8
1296 1291
1297 #endif // V8_PARSING_PREPARSER_H 1292 #endif // V8_PARSING_PREPARSER_H
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698