| 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 "platform/assert.h" | 10 #include "platform/assert.h" |
| (...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 852 AstNode* lhs, | 852 AstNode* lhs, |
| 853 AstNode* rhs); | 853 AstNode* rhs); |
| 854 LetNode* PrepareCompoundAssignmentNodes(AstNode** expr); | 854 LetNode* PrepareCompoundAssignmentNodes(AstNode** expr); |
| 855 LocalVariable* CreateTempConstVariable(TokenPosition token_pos, | 855 LocalVariable* CreateTempConstVariable(TokenPosition token_pos, |
| 856 const char* s); | 856 const char* s); |
| 857 | 857 |
| 858 static SequenceNode* NodeAsSequenceNode(TokenPosition sequence_pos, | 858 static SequenceNode* NodeAsSequenceNode(TokenPosition sequence_pos, |
| 859 AstNode* node, | 859 AstNode* node, |
| 860 LocalScope* scope); | 860 LocalScope* scope); |
| 861 | 861 |
| 862 AstNode* MakeAssertCall(TokenPosition begin, |
| 863 TokenPosition end, |
| 864 AstNode* message); |
| 862 SequenceNode* MakeImplicitConstructor(const Function& func); | 865 SequenceNode* MakeImplicitConstructor(const Function& func); |
| 863 AstNode* MakeStaticCall(const String& cls_name, | 866 AstNode* MakeStaticCall(const String& cls_name, |
| 864 const String& func_name, | 867 const String& func_name, |
| 865 ArgumentListNode* arguments); | 868 ArgumentListNode* arguments); |
| 866 String& Interpolate(const GrowableArray<AstNode*>& values); | 869 String& Interpolate(const GrowableArray<AstNode*>& values); |
| 867 AstNode* ThrowTypeError(TokenPosition type_pos, | 870 AstNode* ThrowTypeError(TokenPosition type_pos, |
| 868 const AbstractType& type, | 871 const AbstractType& type, |
| 869 LibraryPrefix* prefix = NULL); | 872 LibraryPrefix* prefix = NULL); |
| 870 AstNode* ThrowNoSuchMethodError(TokenPosition call_pos, | 873 AstNode* ThrowNoSuchMethodError(TokenPosition call_pos, |
| 871 const Class& cls, | 874 const Class& cls, |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 974 | 977 |
| 975 intptr_t recursion_counter_; | 978 intptr_t recursion_counter_; |
| 976 friend class RecursionChecker; | 979 friend class RecursionChecker; |
| 977 | 980 |
| 978 DISALLOW_COPY_AND_ASSIGN(Parser); | 981 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 979 }; | 982 }; |
| 980 | 983 |
| 981 } // namespace dart | 984 } // namespace dart |
| 982 | 985 |
| 983 #endif // RUNTIME_VM_PARSER_H_ | 986 #endif // RUNTIME_VM_PARSER_H_ |
| OLD | NEW |