| 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 644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 655 const String* left_ident, | 655 const String* left_ident, |
| 656 intptr_t left_pos); | 656 intptr_t left_pos); |
| 657 AstNode* InsertClosureCallNodes(AstNode* condition); | 657 AstNode* InsertClosureCallNodes(AstNode* condition); |
| 658 | 658 |
| 659 ConstructorCallNode* CreateConstructorCallNode( | 659 ConstructorCallNode* CreateConstructorCallNode( |
| 660 intptr_t token_pos, | 660 intptr_t token_pos, |
| 661 const AbstractTypeArguments& type_arguments, | 661 const AbstractTypeArguments& type_arguments, |
| 662 const Function& constructor, | 662 const Function& constructor, |
| 663 ArgumentListNode* arguments); | 663 ArgumentListNode* arguments); |
| 664 | 664 |
| 665 void AddEqualityNullCheck(); |
| 666 |
| 665 RawInstance* TryCanonicalize(const Instance& instance, intptr_t token_pos); | 667 RawInstance* TryCanonicalize(const Instance& instance, intptr_t token_pos); |
| 666 | 668 |
| 667 Isolate* isolate() const { return isolate_; } | 669 Isolate* isolate() const { return isolate_; } |
| 668 | 670 |
| 669 Isolate* isolate_; // Cached current isolate. | 671 Isolate* isolate_; // Cached current isolate. |
| 670 | 672 |
| 671 Script& script_; | 673 Script& script_; |
| 672 TokenStream::Iterator tokens_iterator_; | 674 TokenStream::Iterator tokens_iterator_; |
| 673 Token::Kind token_kind_; // Cached token kind for current token. | 675 Token::Kind token_kind_; // Cached token kind for current token. |
| 674 Block* current_block_; | 676 Block* current_block_; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 715 intptr_t last_used_try_index_; | 717 intptr_t last_used_try_index_; |
| 716 | 718 |
| 717 bool unregister_pending_function_; | 719 bool unregister_pending_function_; |
| 718 | 720 |
| 719 DISALLOW_COPY_AND_ASSIGN(Parser); | 721 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 720 }; | 722 }; |
| 721 | 723 |
| 722 } // namespace dart | 724 } // namespace dart |
| 723 | 725 |
| 724 #endif // VM_PARSER_H_ | 726 #endif // VM_PARSER_H_ |
| OLD | NEW |