| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |