Chromium Code Reviews| 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 RUNTIME_VM_PARSER_H_ | 5 #ifndef RUNTIME_VM_PARSER_H_ |
| 6 #define RUNTIME_VM_PARSER_H_ | 6 #define RUNTIME_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 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 659 SequenceNode* CloseAsyncGeneratorFunction(const Function& closure, | 659 SequenceNode* CloseAsyncGeneratorFunction(const Function& closure, |
| 660 SequenceNode* closure_node); | 660 SequenceNode* closure_node); |
| 661 void OpenAsyncGeneratorClosure(); | 661 void OpenAsyncGeneratorClosure(); |
| 662 SequenceNode* CloseAsyncGeneratorClosure(SequenceNode* body); | 662 SequenceNode* CloseAsyncGeneratorClosure(SequenceNode* body); |
| 663 | 663 |
| 664 void OpenAsyncTryBlock(); | 664 void OpenAsyncTryBlock(); |
| 665 SequenceNode* CloseBlock(); | 665 SequenceNode* CloseBlock(); |
| 666 SequenceNode* CloseAsyncFunction(const Function& closure, | 666 SequenceNode* CloseAsyncFunction(const Function& closure, |
| 667 SequenceNode* closure_node); | 667 SequenceNode* closure_node); |
| 668 | 668 |
| 669 SequenceNode* CloseAsyncClosure(SequenceNode* body); | 669 SequenceNode* CloseAsyncClosure(SequenceNode* body, |
| 670 SequenceNode* CloseAsyncTryBlock(SequenceNode* try_block); | 670 TokenPosition fucnc_end_pos); |
|
Florian Schneider
2017/03/09 23:58:41
Typo: -> func_end_pos
hausner
2017/03/10 00:10:07
Done.
| |
| 671 SequenceNode* CloseAsyncTryBlock(SequenceNode* try_block, | |
| 672 TokenPosition func_end_pos); | |
| 671 SequenceNode* CloseAsyncGeneratorTryBlock(SequenceNode* body); | 673 SequenceNode* CloseAsyncGeneratorTryBlock(SequenceNode* body); |
| 672 | 674 |
| 673 void AddAsyncClosureParameters(ParamList* params); | 675 void AddAsyncClosureParameters(ParamList* params); |
| 674 void AddContinuationVariables(); | 676 void AddContinuationVariables(); |
| 675 void AddAsyncClosureVariables(); | 677 void AddAsyncClosureVariables(); |
| 676 void AddAsyncGeneratorVariables(); | 678 void AddAsyncGeneratorVariables(); |
| 677 | 679 |
| 678 LocalVariable* LookupReceiver(LocalScope* from_scope, bool test_only); | 680 LocalVariable* LookupReceiver(LocalScope* from_scope, bool test_only); |
| 679 LocalVariable* LookupTypeArgumentsParameter(LocalScope* from_scope, | 681 LocalVariable* LookupTypeArgumentsParameter(LocalScope* from_scope, |
| 680 bool test_only); | 682 bool test_only); |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 996 | 998 |
| 997 intptr_t recursion_counter_; | 999 intptr_t recursion_counter_; |
| 998 friend class RecursionChecker; | 1000 friend class RecursionChecker; |
| 999 | 1001 |
| 1000 DISALLOW_COPY_AND_ASSIGN(Parser); | 1002 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 1001 }; | 1003 }; |
| 1002 | 1004 |
| 1003 } // namespace dart | 1005 } // namespace dart |
| 1004 | 1006 |
| 1005 #endif // RUNTIME_VM_PARSER_H_ | 1007 #endif // RUNTIME_VM_PARSER_H_ |
| OLD | NEW |