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 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
539 SequenceNode* CloseAsyncTryBlock(SequenceNode* try_block); | 539 SequenceNode* CloseAsyncTryBlock(SequenceNode* try_block); |
540 void AddAsyncClosureVariables(); | 540 void AddAsyncClosureVariables(); |
541 | 541 |
542 | 542 |
543 LocalVariable* LookupPhaseParameter(); | 543 LocalVariable* LookupPhaseParameter(); |
544 LocalVariable* LookupReceiver(LocalScope* from_scope, bool test_only); | 544 LocalVariable* LookupReceiver(LocalScope* from_scope, bool test_only); |
545 LocalVariable* LookupTypeArgumentsParameter(LocalScope* from_scope, | 545 LocalVariable* LookupTypeArgumentsParameter(LocalScope* from_scope, |
546 bool test_only); | 546 bool test_only); |
547 void CaptureInstantiator(); | 547 void CaptureInstantiator(); |
548 AstNode* LoadReceiver(intptr_t token_pos); | 548 AstNode* LoadReceiver(intptr_t token_pos); |
549 AstNode* LoadTypeArgumentsParameter(intptr_t token_pos); | |
550 AstNode* LoadFieldIfUnresolved(AstNode* node); | 549 AstNode* LoadFieldIfUnresolved(AstNode* node); |
551 AstNode* LoadClosure(PrimaryNode* primary); | 550 AstNode* LoadClosure(PrimaryNode* primary); |
552 AstNode* CallGetter(intptr_t token_pos, AstNode* object, const String& name); | 551 AstNode* CallGetter(intptr_t token_pos, AstNode* object, const String& name); |
553 | 552 |
554 AstNode* ParseAssertStatement(); | 553 AstNode* ParseAssertStatement(); |
555 AstNode* ParseJump(String* label_name); | 554 AstNode* ParseJump(String* label_name); |
556 AstNode* ParseIfStatement(String* label_name); | 555 AstNode* ParseIfStatement(String* label_name); |
557 AstNode* ParseWhileStatement(String* label_name); | 556 AstNode* ParseWhileStatement(String* label_name); |
558 AstNode* ParseDoWhileStatement(String* label_name); | 557 AstNode* ParseDoWhileStatement(String* label_name); |
559 AstNode* ParseForStatement(String* label_name); | 558 AstNode* ParseForStatement(String* label_name); |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
802 bool unregister_pending_function_; | 801 bool unregister_pending_function_; |
803 | 802 |
804 LocalScope* async_temp_scope_; | 803 LocalScope* async_temp_scope_; |
805 | 804 |
806 DISALLOW_COPY_AND_ASSIGN(Parser); | 805 DISALLOW_COPY_AND_ASSIGN(Parser); |
807 }; | 806 }; |
808 | 807 |
809 } // namespace dart | 808 } // namespace dart |
810 | 809 |
811 #endif // VM_PARSER_H_ | 810 #endif // VM_PARSER_H_ |
OLD | NEW |