| 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 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 536 void BuildDispatcherScope(const Function& func, | 536 void BuildDispatcherScope(const Function& func, |
| 537 const ArgumentsDescriptor& desc, | 537 const ArgumentsDescriptor& desc, |
| 538 Array* default_values); | 538 Array* default_values); |
| 539 | 539 |
| 540 void ChainNewBlock(LocalScope* outer_scope); | 540 void ChainNewBlock(LocalScope* outer_scope); |
| 541 void OpenBlock(); | 541 void OpenBlock(); |
| 542 void OpenLoopBlock(); | 542 void OpenLoopBlock(); |
| 543 void OpenFunctionBlock(const Function& func); | 543 void OpenFunctionBlock(const Function& func); |
| 544 void OpenAsyncClosure(); | 544 void OpenAsyncClosure(); |
| 545 RawFunction* OpenAsyncFunction(intptr_t formal_param_pos); | 545 RawFunction* OpenAsyncFunction(intptr_t formal_param_pos); |
| 546 void OpenAsyncTryBlock(); |
| 546 SequenceNode* CloseBlock(); | 547 SequenceNode* CloseBlock(); |
| 547 SequenceNode* CloseAsyncFunction(const Function& closure, | 548 SequenceNode* CloseAsyncFunction(const Function& closure, |
| 548 SequenceNode* closure_node); | 549 SequenceNode* closure_node); |
| 549 void CloseAsyncClosure(SequenceNode* body); | 550 SequenceNode* CloseAsyncClosure(SequenceNode* body); |
| 551 SequenceNode* CloseAsyncTryBlock(SequenceNode* try_block); |
| 550 void AddAsyncClosureVariables(); | 552 void AddAsyncClosureVariables(); |
| 551 | 553 |
| 552 | 554 |
| 553 LocalVariable* LookupPhaseParameter(); | 555 LocalVariable* LookupPhaseParameter(); |
| 554 LocalVariable* LookupReceiver(LocalScope* from_scope, bool test_only); | 556 LocalVariable* LookupReceiver(LocalScope* from_scope, bool test_only); |
| 555 LocalVariable* LookupTypeArgumentsParameter(LocalScope* from_scope, | 557 LocalVariable* LookupTypeArgumentsParameter(LocalScope* from_scope, |
| 556 bool test_only); | 558 bool test_only); |
| 557 void CaptureInstantiator(); | 559 void CaptureInstantiator(); |
| 558 AstNode* LoadReceiver(intptr_t token_pos); | 560 AstNode* LoadReceiver(intptr_t token_pos); |
| 559 AstNode* LoadTypeArgumentsParameter(intptr_t token_pos); | 561 AstNode* LoadTypeArgumentsParameter(intptr_t token_pos); |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 812 bool unregister_pending_function_; | 814 bool unregister_pending_function_; |
| 813 | 815 |
| 814 LocalScope* async_temp_scope_; | 816 LocalScope* async_temp_scope_; |
| 815 | 817 |
| 816 DISALLOW_COPY_AND_ASSIGN(Parser); | 818 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 817 }; | 819 }; |
| 818 | 820 |
| 819 } // namespace dart | 821 } // namespace dart |
| 820 | 822 |
| 821 #endif // VM_PARSER_H_ | 823 #endif // VM_PARSER_H_ |
| OLD | NEW |