| 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 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 775 | 775 |
| 776 static SequenceNode* NodeAsSequenceNode(intptr_t sequence_pos, | 776 static SequenceNode* NodeAsSequenceNode(intptr_t sequence_pos, |
| 777 AstNode* node, | 777 AstNode* node, |
| 778 LocalScope* scope); | 778 LocalScope* scope); |
| 779 | 779 |
| 780 SequenceNode* MakeImplicitConstructor(const Function& func); | 780 SequenceNode* MakeImplicitConstructor(const Function& func); |
| 781 AstNode* MakeStaticCall(const String& cls_name, | 781 AstNode* MakeStaticCall(const String& cls_name, |
| 782 const String& func_name, | 782 const String& func_name, |
| 783 ArgumentListNode* arguments); | 783 ArgumentListNode* arguments); |
| 784 String& Interpolate(const GrowableArray<AstNode*>& values); | 784 String& Interpolate(const GrowableArray<AstNode*>& values); |
| 785 AstNode* MakeAssertCall(intptr_t begin, intptr_t end); | 785 AstNode* MakeAssertCall(intptr_t begin, intptr_t end, AstNode* message); |
| 786 AstNode* ThrowTypeError(intptr_t type_pos, const AbstractType& type, | 786 AstNode* ThrowTypeError(intptr_t type_pos, const AbstractType& type, |
| 787 LibraryPrefix* prefix = NULL); | 787 LibraryPrefix* prefix = NULL); |
| 788 AstNode* ThrowNoSuchMethodError(intptr_t call_pos, | 788 AstNode* ThrowNoSuchMethodError(intptr_t call_pos, |
| 789 const Class& cls, | 789 const Class& cls, |
| 790 const String& function_name, | 790 const String& function_name, |
| 791 ArgumentListNode* function_arguments, | 791 ArgumentListNode* function_arguments, |
| 792 InvocationMirror::Call call, | 792 InvocationMirror::Call call, |
| 793 InvocationMirror::Type type, | 793 InvocationMirror::Type type, |
| 794 const Function* func, | 794 const Function* func, |
| 795 const LibraryPrefix* prefix = NULL); | 795 const LibraryPrefix* prefix = NULL); |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 888 | 888 |
| 889 // Indentation of parser trace. | 889 // Indentation of parser trace. |
| 890 intptr_t trace_indent_; | 890 intptr_t trace_indent_; |
| 891 | 891 |
| 892 DISALLOW_COPY_AND_ASSIGN(Parser); | 892 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 893 }; | 893 }; |
| 894 | 894 |
| 895 } // namespace dart | 895 } // namespace dart |
| 896 | 896 |
| 897 #endif // VM_PARSER_H_ | 897 #endif // VM_PARSER_H_ |
| OLD | NEW |