| 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 "platform/assert.h" | 10 #include "platform/assert.h" |
| (...skipping 782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 793 | 793 |
| 794 void SetupSavedTryContext(LocalVariable* saved_try_context); | 794 void SetupSavedTryContext(LocalVariable* saved_try_context); |
| 795 | 795 |
| 796 void CheckOperatorArity(const MemberDesc& member); | 796 void CheckOperatorArity(const MemberDesc& member); |
| 797 | 797 |
| 798 void EnsureExpressionTemp(); | 798 void EnsureExpressionTemp(); |
| 799 bool IsLegalAssignableSyntax(AstNode* expr, intptr_t end_pos); | 799 bool IsLegalAssignableSyntax(AstNode* expr, intptr_t end_pos); |
| 800 AstNode* CreateAssignmentNode(AstNode* original, | 800 AstNode* CreateAssignmentNode(AstNode* original, |
| 801 AstNode* rhs, | 801 AstNode* rhs, |
| 802 const String* left_ident, | 802 const String* left_ident, |
| 803 intptr_t left_pos); | 803 intptr_t left_pos, |
| 804 bool is_compound = false); |
| 804 AstNode* InsertClosureCallNodes(AstNode* condition); | 805 AstNode* InsertClosureCallNodes(AstNode* condition); |
| 805 | 806 |
| 806 ConstructorCallNode* CreateConstructorCallNode( | 807 ConstructorCallNode* CreateConstructorCallNode( |
| 807 intptr_t token_pos, | 808 intptr_t token_pos, |
| 808 const TypeArguments& type_arguments, | 809 const TypeArguments& type_arguments, |
| 809 const Function& constructor, | 810 const Function& constructor, |
| 810 ArgumentListNode* arguments); | 811 ArgumentListNode* arguments); |
| 811 | 812 |
| 812 void AddEqualityNullCheck(); | 813 void AddEqualityNullCheck(); |
| 813 | 814 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 881 | 882 |
| 882 // Indentation of parser trace. | 883 // Indentation of parser trace. |
| 883 intptr_t trace_indent_; | 884 intptr_t trace_indent_; |
| 884 | 885 |
| 885 DISALLOW_COPY_AND_ASSIGN(Parser); | 886 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 886 }; | 887 }; |
| 887 | 888 |
| 888 } // namespace dart | 889 } // namespace dart |
| 889 | 890 |
| 890 #endif // VM_PARSER_H_ | 891 #endif // VM_PARSER_H_ |
| OLD | NEW |