| 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 RUNTIME_VM_PARSER_H_ | 5 #ifndef RUNTIME_VM_PARSER_H_ |
| 6 #define RUNTIME_VM_PARSER_H_ | 6 #define RUNTIME_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 926 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 937 bool is_compound = false); | 937 bool is_compound = false); |
| 938 | 938 |
| 939 ConstructorCallNode* CreateConstructorCallNode( | 939 ConstructorCallNode* CreateConstructorCallNode( |
| 940 TokenPosition token_pos, | 940 TokenPosition token_pos, |
| 941 const TypeArguments& type_arguments, | 941 const TypeArguments& type_arguments, |
| 942 const Function& constructor, | 942 const Function& constructor, |
| 943 ArgumentListNode* arguments); | 943 ArgumentListNode* arguments); |
| 944 | 944 |
| 945 void AddEqualityNullCheck(); | 945 void AddEqualityNullCheck(); |
| 946 | 946 |
| 947 AstNode* AddAsyncResultTypeCheck(TokenPosition expr_pos, AstNode* expr); |
| 948 |
| 947 AstNode* BuildClosureCall(TokenPosition token_pos, | 949 AstNode* BuildClosureCall(TokenPosition token_pos, |
| 948 AstNode* closure, | 950 AstNode* closure, |
| 949 ArgumentListNode* arguments); | 951 ArgumentListNode* arguments); |
| 950 | 952 |
| 951 RawInstance* TryCanonicalize(const Instance& instance, | 953 RawInstance* TryCanonicalize(const Instance& instance, |
| 952 TokenPosition token_pos); | 954 TokenPosition token_pos); |
| 953 void CacheConstantValue(TokenPosition token_pos, const Instance& value); | 955 void CacheConstantValue(TokenPosition token_pos, const Instance& value); |
| 954 bool GetCachedConstant(TokenPosition token_pos, Instance* value); | 956 bool GetCachedConstant(TokenPosition token_pos, Instance* value); |
| 955 | 957 |
| 956 Thread* thread() const { return thread_; } | 958 Thread* thread() const { return thread_; } |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1026 | 1028 |
| 1027 intptr_t recursion_counter_; | 1029 intptr_t recursion_counter_; |
| 1028 friend class RecursionChecker; | 1030 friend class RecursionChecker; |
| 1029 | 1031 |
| 1030 DISALLOW_COPY_AND_ASSIGN(Parser); | 1032 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 1031 }; | 1033 }; |
| 1032 | 1034 |
| 1033 } // namespace dart | 1035 } // namespace dart |
| 1034 | 1036 |
| 1035 #endif // RUNTIME_VM_PARSER_H_ | 1037 #endif // RUNTIME_VM_PARSER_H_ |
| OLD | NEW |