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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 Array& default_parameter_values); | 428 Array& default_parameter_values); |
429 SequenceNode* ParseFunc(const Function& func, | 429 SequenceNode* ParseFunc(const Function& func, |
430 Array& default_parameter_values); | 430 Array& default_parameter_values); |
431 | 431 |
432 void ParseNativeFunctionBlock(const ParamList* params, const Function& func); | 432 void ParseNativeFunctionBlock(const ParamList* params, const Function& func); |
433 | 433 |
434 SequenceNode* ParseInstanceGetter(const Function& func); | 434 SequenceNode* ParseInstanceGetter(const Function& func); |
435 SequenceNode* ParseInstanceSetter(const Function& func); | 435 SequenceNode* ParseInstanceSetter(const Function& func); |
436 SequenceNode* ParseStaticConstGetter(const Function& func); | 436 SequenceNode* ParseStaticConstGetter(const Function& func); |
437 SequenceNode* ParseMethodExtractor(const Function& func); | 437 SequenceNode* ParseMethodExtractor(const Function& func); |
438 SequenceNode* ParseNoSuchMethodDispatcher(const Function& func); | 438 SequenceNode* ParseNoSuchMethodDispatcher(const Function& func, |
| 439 Array& default_values); |
439 | 440 |
440 void ChainNewBlock(LocalScope* outer_scope); | 441 void ChainNewBlock(LocalScope* outer_scope); |
441 void OpenBlock(); | 442 void OpenBlock(); |
442 void OpenLoopBlock(); | 443 void OpenLoopBlock(); |
443 void OpenFunctionBlock(const Function& func); | 444 void OpenFunctionBlock(const Function& func); |
444 SequenceNode* CloseBlock(); | 445 SequenceNode* CloseBlock(); |
445 | 446 |
446 LocalVariable* LookupPhaseParameter(); | 447 LocalVariable* LookupPhaseParameter(); |
447 LocalVariable* LookupReceiver(LocalScope* from_scope, bool test_only); | 448 LocalVariable* LookupReceiver(LocalScope* from_scope, bool test_only); |
448 LocalVariable* LookupTypeArgumentsParameter(LocalScope* from_scope, | 449 LocalVariable* LookupTypeArgumentsParameter(LocalScope* from_scope, |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
678 // code at all points in the try block where an exit from the block is | 679 // code at all points in the try block where an exit from the block is |
679 // done using 'return', 'break' or 'continue' statements. | 680 // done using 'return', 'break' or 'continue' statements. |
680 TryBlocks* try_blocks_list_; | 681 TryBlocks* try_blocks_list_; |
681 | 682 |
682 DISALLOW_COPY_AND_ASSIGN(Parser); | 683 DISALLOW_COPY_AND_ASSIGN(Parser); |
683 }; | 684 }; |
684 | 685 |
685 } // namespace dart | 686 } // namespace dart |
686 | 687 |
687 #endif // VM_PARSER_H_ | 688 #endif // VM_PARSER_H_ |
OLD | NEW |