| 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 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 629 SequenceNode* MakeImplicitConstructor(const Function& func); | 629 SequenceNode* MakeImplicitConstructor(const Function& func); |
| 630 AstNode* MakeStaticCall(const String& cls_name, | 630 AstNode* MakeStaticCall(const String& cls_name, |
| 631 const String& func_name, | 631 const String& func_name, |
| 632 ArgumentListNode* arguments); | 632 ArgumentListNode* arguments); |
| 633 String& Interpolate(const GrowableArray<AstNode*>& values); | 633 String& Interpolate(const GrowableArray<AstNode*>& values); |
| 634 AstNode* MakeAssertCall(intptr_t begin, intptr_t end); | 634 AstNode* MakeAssertCall(intptr_t begin, intptr_t end); |
| 635 AstNode* ThrowTypeError(intptr_t type_pos, const AbstractType& type); | 635 AstNode* ThrowTypeError(intptr_t type_pos, const AbstractType& type); |
| 636 AstNode* ThrowNoSuchMethodError(intptr_t call_pos, | 636 AstNode* ThrowNoSuchMethodError(intptr_t call_pos, |
| 637 const Class& cls, | 637 const Class& cls, |
| 638 const String& function_name, | 638 const String& function_name, |
| 639 ArgumentListNode* function_arguments, |
| 639 InvocationMirror::Call call, | 640 InvocationMirror::Call call, |
| 640 InvocationMirror::Type type); | 641 InvocationMirror::Type type); |
| 641 | 642 |
| 642 void CheckOperatorArity(const MemberDesc& member); | 643 void CheckOperatorArity(const MemberDesc& member); |
| 643 | 644 |
| 644 void EnsureExpressionTemp(); | 645 void EnsureExpressionTemp(); |
| 645 void EnsureSavedCurrentContext(); | 646 void EnsureSavedCurrentContext(); |
| 646 AstNode* CreateAssignmentNode(AstNode* original, | 647 AstNode* CreateAssignmentNode(AstNode* original, |
| 647 AstNode* rhs, | 648 AstNode* rhs, |
| 648 const String* left_ident, | 649 const String* left_ident, |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 708 intptr_t last_used_try_index_; | 709 intptr_t last_used_try_index_; |
| 709 | 710 |
| 710 bool unregister_pending_function_; | 711 bool unregister_pending_function_; |
| 711 | 712 |
| 712 DISALLOW_COPY_AND_ASSIGN(Parser); | 713 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 713 }; | 714 }; |
| 714 | 715 |
| 715 } // namespace dart | 716 } // namespace dart |
| 716 | 717 |
| 717 #endif // VM_PARSER_H_ | 718 #endif // VM_PARSER_H_ |
| OLD | NEW |