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_PARSER_H_ | 5 #ifndef V8_PARSING_PARSER_H_ |
6 #define V8_PARSING_PARSER_H_ | 6 #define V8_PARSING_PARSER_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/ast/ast.h" | 9 #include "src/ast/ast.h" |
10 #include "src/ast/scopes.h" | 10 #include "src/ast/scopes.h" |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 typedef v8::internal::Expression* Expression; | 347 typedef v8::internal::Expression* Expression; |
348 typedef Yield* YieldExpression; | 348 typedef Yield* YieldExpression; |
349 typedef v8::internal::FunctionLiteral* FunctionLiteral; | 349 typedef v8::internal::FunctionLiteral* FunctionLiteral; |
350 typedef v8::internal::ClassLiteral* ClassLiteral; | 350 typedef v8::internal::ClassLiteral* ClassLiteral; |
351 typedef v8::internal::Literal* Literal; | 351 typedef v8::internal::Literal* Literal; |
352 typedef ObjectLiteral::Property* ObjectLiteralProperty; | 352 typedef ObjectLiteral::Property* ObjectLiteralProperty; |
353 typedef ZoneList<v8::internal::Expression*>* ExpressionList; | 353 typedef ZoneList<v8::internal::Expression*>* ExpressionList; |
354 typedef ZoneList<ObjectLiteral::Property*>* PropertyList; | 354 typedef ZoneList<ObjectLiteral::Property*>* PropertyList; |
355 typedef ParserFormalParameters::Parameter FormalParameter; | 355 typedef ParserFormalParameters::Parameter FormalParameter; |
356 typedef ParserFormalParameters FormalParameters; | 356 typedef ParserFormalParameters FormalParameters; |
| 357 typedef v8::internal::Statement* Statement; |
357 typedef ZoneList<v8::internal::Statement*>* StatementList; | 358 typedef ZoneList<v8::internal::Statement*>* StatementList; |
358 | 359 |
359 struct TypeSystem { | 360 struct TypeSystem { |
360 typedef v8::internal::typesystem::Type* Type; | 361 typedef v8::internal::typesystem::Type* Type; |
361 typedef ZoneList<v8::internal::typesystem::Type*>* TypeList; | 362 typedef ZoneList<v8::internal::typesystem::Type*>* TypeList; |
362 typedef v8::internal::typesystem::TypeParameter* TypeParameter; | 363 typedef v8::internal::typesystem::TypeParameter* TypeParameter; |
363 typedef ZoneList<v8::internal::typesystem::TypeParameter*>* | 364 typedef ZoneList<v8::internal::typesystem::TypeParameter*>* |
364 TypeParameters; | 365 TypeParameters; |
365 typedef v8::internal::typesystem::FormalParameter* FormalParameter; | 366 typedef v8::internal::typesystem::FormalParameter* FormalParameter; |
366 typedef ZoneList<v8::internal::typesystem::FormalParameter*>* | 367 typedef ZoneList<v8::internal::typesystem::FormalParameter*>* |
(...skipping 953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1320 | 1321 |
1321 DoExpression* ParserTraits::ParseDoExpression(bool* ok) { | 1322 DoExpression* ParserTraits::ParseDoExpression(bool* ok) { |
1322 return parser_->ParseDoExpression(ok); | 1323 return parser_->ParseDoExpression(ok); |
1323 } | 1324 } |
1324 | 1325 |
1325 | 1326 |
1326 } // namespace internal | 1327 } // namespace internal |
1327 } // namespace v8 | 1328 } // namespace v8 |
1328 | 1329 |
1329 #endif // V8_PARSING_PARSER_H_ | 1330 #endif // V8_PARSING_PARSER_H_ |
OLD | NEW |