| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VM_PARSER_H_ | 5 #ifndef VM_PARSER_H_ |
| 6 #define VM_PARSER_H_ | 6 #define VM_PARSER_H_ |
| 7 | 7 |
| 8 #include "include/dart_api.h" | 8 #include "include/dart_api.h" |
| 9 | 9 |
| 10 #include "lib/invocation_mirror.h" | 10 #include "lib/invocation_mirror.h" |
| (...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 549 static const bool kRequireConst = true; | 549 static const bool kRequireConst = true; |
| 550 static const bool kAllowConst = false; | 550 static const bool kAllowConst = false; |
| 551 static const bool kConsumeCascades = true; | 551 static const bool kConsumeCascades = true; |
| 552 static const bool kNoCascades = false; | 552 static const bool kNoCascades = false; |
| 553 AstNode* ParseExpr(bool require_compiletime_const, bool consume_cascades); | 553 AstNode* ParseExpr(bool require_compiletime_const, bool consume_cascades); |
| 554 AstNode* ParseExprList(); | 554 AstNode* ParseExprList(); |
| 555 AstNode* ParseConditionalExpr(); | 555 AstNode* ParseConditionalExpr(); |
| 556 AstNode* ParseUnaryExpr(); | 556 AstNode* ParseUnaryExpr(); |
| 557 AstNode* ParsePostfixExpr(); | 557 AstNode* ParsePostfixExpr(); |
| 558 AstNode* ParseSelectors(AstNode* primary, bool is_cascade); | 558 AstNode* ParseSelectors(AstNode* primary, bool is_cascade); |
| 559 AstNode* ParseMemberSelection(AstNode* primary); |
| 559 AstNode* ParseCascades(AstNode* expr); | 560 AstNode* ParseCascades(AstNode* expr); |
| 560 AstNode* ParsePrimary(); | 561 AstNode* ParsePrimary(); |
| 561 AstNode* ParseStringLiteral(bool allow_interpolation); | 562 AstNode* ParseStringLiteral(bool allow_interpolation); |
| 562 String* ParseImportStringLiteral(); | 563 String* ParseImportStringLiteral(); |
| 563 AstNode* ParseCompoundLiteral(); | 564 AstNode* ParseCompoundLiteral(); |
| 564 AstNode* ParseSymbolLiteral(); | 565 AstNode* ParseSymbolLiteral(); |
| 565 AstNode* ParseListLiteral(intptr_t type_pos, | 566 AstNode* ParseListLiteral(intptr_t type_pos, |
| 566 bool is_const, | 567 bool is_const, |
| 567 const AbstractTypeArguments& type_arguments); | 568 const AbstractTypeArguments& type_arguments); |
| 568 AstNode* ParseMapLiteral(intptr_t type_pos, | 569 AstNode* ParseMapLiteral(intptr_t type_pos, |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 720 intptr_t last_used_try_index_; | 721 intptr_t last_used_try_index_; |
| 721 | 722 |
| 722 bool unregister_pending_function_; | 723 bool unregister_pending_function_; |
| 723 | 724 |
| 724 DISALLOW_COPY_AND_ASSIGN(Parser); | 725 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 725 }; | 726 }; |
| 726 | 727 |
| 727 } // namespace dart | 728 } // namespace dart |
| 728 | 729 |
| 729 #endif // VM_PARSER_H_ | 730 #endif // VM_PARSER_H_ |
| OLD | NEW |