| 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 791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 802 Statement ParseWhileStatement(ZoneList<const AstRawString*>* labels, | 802 Statement ParseWhileStatement(ZoneList<const AstRawString*>* labels, |
| 803 bool* ok); | 803 bool* ok); |
| 804 Statement ParseForStatement(ZoneList<const AstRawString*>* labels, bool* ok); | 804 Statement ParseForStatement(ZoneList<const AstRawString*>* labels, bool* ok); |
| 805 Statement ParseThrowStatement(bool* ok); | 805 Statement ParseThrowStatement(bool* ok); |
| 806 Statement ParseTryStatement(bool* ok); | 806 Statement ParseTryStatement(bool* ok); |
| 807 Statement ParseDebuggerStatement(bool* ok); | 807 Statement ParseDebuggerStatement(bool* ok); |
| 808 Expression ParseConditionalExpression(bool accept_IN, bool* ok); | 808 Expression ParseConditionalExpression(bool accept_IN, bool* ok); |
| 809 Expression ParseObjectLiteral(bool* ok); | 809 Expression ParseObjectLiteral(bool* ok); |
| 810 Expression ParseV8Intrinsic(bool* ok); | 810 Expression ParseV8Intrinsic(bool* ok); |
| 811 Expression ParseDoExpression(bool* ok); | 811 Expression ParseDoExpression(bool* ok); |
| 812 Expression ParsePrivateFieldReference(Expression base, bool* ok); |
| 812 | 813 |
| 813 V8_INLINE PreParserStatementList ParseEagerFunctionBody( | 814 V8_INLINE PreParserStatementList ParseEagerFunctionBody( |
| 814 PreParserIdentifier function_name, int pos, | 815 PreParserIdentifier function_name, int pos, |
| 815 const PreParserFormalParameters& parameters, FunctionKind kind, | 816 const PreParserFormalParameters& parameters, FunctionKind kind, |
| 816 FunctionLiteral::FunctionType function_type, bool* ok); | 817 FunctionLiteral::FunctionType function_type, bool* ok); |
| 817 | 818 |
| 818 V8_INLINE LazyParsingResult | 819 V8_INLINE LazyParsingResult |
| 819 SkipLazyFunctionBody(int* materialized_literal_count, | 820 SkipLazyFunctionBody(int* materialized_literal_count, |
| 820 int* expected_property_count, bool may_abort, bool* ok) { | 821 int* expected_property_count, bool may_abort, bool* ok) { |
| 821 UNREACHABLE(); | 822 UNREACHABLE(); |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1296 function_state_->NextMaterializedLiteralIndex(); | 1297 function_state_->NextMaterializedLiteralIndex(); |
| 1297 function_state_->NextMaterializedLiteralIndex(); | 1298 function_state_->NextMaterializedLiteralIndex(); |
| 1298 } | 1299 } |
| 1299 return EmptyExpression(); | 1300 return EmptyExpression(); |
| 1300 } | 1301 } |
| 1301 | 1302 |
| 1302 } // namespace internal | 1303 } // namespace internal |
| 1303 } // namespace v8 | 1304 } // namespace v8 |
| 1304 | 1305 |
| 1305 #endif // V8_PARSING_PREPARSER_H | 1306 #endif // V8_PARSING_PREPARSER_H |
| OLD | NEW |