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