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 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
614 AstNode* ThrowNoSuchMethodError(intptr_t call_pos, | 614 AstNode* ThrowNoSuchMethodError(intptr_t call_pos, |
615 const Class& cls, | 615 const Class& cls, |
616 const String& function_name, | 616 const String& function_name, |
617 InvocationMirror::Call call, | 617 InvocationMirror::Call call, |
618 InvocationMirror::Type type); | 618 InvocationMirror::Type type); |
619 | 619 |
620 void CheckOperatorArity(const MemberDesc& member); | 620 void CheckOperatorArity(const MemberDesc& member); |
621 | 621 |
622 void EnsureExpressionTemp(); | 622 void EnsureExpressionTemp(); |
623 void EnsureSavedCurrentContext(); | 623 void EnsureSavedCurrentContext(); |
624 AstNode* CreateAssignmentNode(AstNode* original, AstNode* rhs); | 624 AstNode* CreateAssignmentNode(AstNode* original, |
| 625 AstNode* rhs, |
| 626 const String* left_ident, |
| 627 intptr_t left_pos); |
625 AstNode* InsertClosureCallNodes(AstNode* condition); | 628 AstNode* InsertClosureCallNodes(AstNode* condition); |
626 | 629 |
627 ConstructorCallNode* CreateConstructorCallNode( | 630 ConstructorCallNode* CreateConstructorCallNode( |
628 intptr_t token_pos, | 631 intptr_t token_pos, |
629 const AbstractTypeArguments& type_arguments, | 632 const AbstractTypeArguments& type_arguments, |
630 const Function& constructor, | 633 const Function& constructor, |
631 ArgumentListNode* arguments); | 634 ArgumentListNode* arguments); |
632 | 635 |
633 RawInstance* TryCanonicalize(const Instance& instance, intptr_t token_pos); | 636 RawInstance* TryCanonicalize(const Instance& instance, intptr_t token_pos); |
634 | 637 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
677 // code at all points in the try block where an exit from the block is | 680 // code at all points in the try block where an exit from the block is |
678 // done using 'return', 'break' or 'continue' statements. | 681 // done using 'return', 'break' or 'continue' statements. |
679 TryBlocks* try_blocks_list_; | 682 TryBlocks* try_blocks_list_; |
680 | 683 |
681 DISALLOW_COPY_AND_ASSIGN(Parser); | 684 DISALLOW_COPY_AND_ASSIGN(Parser); |
682 }; | 685 }; |
683 | 686 |
684 } // namespace dart | 687 } // namespace dart |
685 | 688 |
686 #endif // VM_PARSER_H_ | 689 #endif // VM_PARSER_H_ |
OLD | NEW |