| 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 kConsumeCascades = true; | 549 static const bool kConsumeCascades = true; |
| 550 static const bool kNoCascades = false; | 550 static const bool kNoCascades = false; |
| 551 AstNode* ParseExpr(bool require_compiletime_const, bool consume_cascades); | 551 AstNode* ParseExpr(bool require_compiletime_const, bool consume_cascades); |
| 552 AstNode* ParseExprList(); | 552 AstNode* ParseExprList(); |
| 553 AstNode* ParseConditionalExpr(); | 553 AstNode* ParseConditionalExpr(); |
| 554 AstNode* ParseUnaryExpr(); | 554 AstNode* ParseUnaryExpr(); |
| 555 AstNode* ParsePostfixExpr(); | 555 AstNode* ParsePostfixExpr(); |
| 556 AstNode* ParseSelectors(AstNode* primary, bool is_cascade); | 556 AstNode* ParseSelectors(AstNode* primary, bool is_cascade); |
| 557 AstNode* ParseCascades(AstNode* expr); | 557 AstNode* ParseCascades(AstNode* expr); |
| 558 AstNode* ParsePrimary(); | 558 AstNode* ParsePrimary(); |
| 559 AstNode* ParseStringLiteral(); | 559 AstNode* ParseStringLiteral(bool allow_interpolation); |
| 560 String* ParseImportStringLiteral(); | 560 String* ParseImportStringLiteral(); |
| 561 AstNode* ParseCompoundLiteral(); | 561 AstNode* ParseCompoundLiteral(); |
| 562 AstNode* ParseSymbolLiteral(); | 562 AstNode* ParseSymbolLiteral(); |
| 563 AstNode* ParseListLiteral(intptr_t type_pos, | 563 AstNode* ParseListLiteral(intptr_t type_pos, |
| 564 bool is_const, | 564 bool is_const, |
| 565 const AbstractTypeArguments& type_arguments); | 565 const AbstractTypeArguments& type_arguments); |
| 566 AstNode* ParseMapLiteral(intptr_t type_pos, | 566 AstNode* ParseMapLiteral(intptr_t type_pos, |
| 567 bool is_const, | 567 bool is_const, |
| 568 const AbstractTypeArguments& type_arguments); | 568 const AbstractTypeArguments& type_arguments); |
| 569 AstNode* ParseNewOperator(Token::Kind op_kind); | 569 AstNode* ParseNewOperator(Token::Kind op_kind); |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 718 intptr_t last_used_try_index_; | 718 intptr_t last_used_try_index_; |
| 719 | 719 |
| 720 bool unregister_pending_function_; | 720 bool unregister_pending_function_; |
| 721 | 721 |
| 722 DISALLOW_COPY_AND_ASSIGN(Parser); | 722 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 723 }; | 723 }; |
| 724 | 724 |
| 725 } // namespace dart | 725 } // namespace dart |
| 726 | 726 |
| 727 #endif // VM_PARSER_H_ | 727 #endif // VM_PARSER_H_ |
| OLD | NEW |