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 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 | 519 |
520 SequenceNode* ParseInstanceGetter(const Function& func); | 520 SequenceNode* ParseInstanceGetter(const Function& func); |
521 SequenceNode* ParseInstanceSetter(const Function& func); | 521 SequenceNode* ParseInstanceSetter(const Function& func); |
522 SequenceNode* ParseStaticFinalGetter(const Function& func); | 522 SequenceNode* ParseStaticFinalGetter(const Function& func); |
523 SequenceNode* ParseStaticInitializer(); | 523 SequenceNode* ParseStaticInitializer(); |
524 SequenceNode* ParseMethodExtractor(const Function& func); | 524 SequenceNode* ParseMethodExtractor(const Function& func); |
525 SequenceNode* ParseNoSuchMethodDispatcher(const Function& func, | 525 SequenceNode* ParseNoSuchMethodDispatcher(const Function& func, |
526 Array* default_values); | 526 Array* default_values); |
527 SequenceNode* ParseInvokeFieldDispatcher(const Function& func, | 527 SequenceNode* ParseInvokeFieldDispatcher(const Function& func, |
528 Array* default_values); | 528 Array* default_values); |
| 529 SequenceNode* ParseImplicitClosure(const Function& func, |
| 530 Array* default_values); |
529 | 531 |
530 void BuildDispatcherScope(const Function& func, | 532 void BuildDispatcherScope(const Function& func, |
531 const ArgumentsDescriptor& desc, | 533 const ArgumentsDescriptor& desc, |
532 Array* default_values); | 534 Array* default_values); |
533 | 535 |
534 void ChainNewBlock(LocalScope* outer_scope); | 536 void ChainNewBlock(LocalScope* outer_scope); |
535 void OpenBlock(); | 537 void OpenBlock(); |
536 void OpenLoopBlock(); | 538 void OpenLoopBlock(); |
537 void OpenFunctionBlock(const Function& func); | 539 void OpenFunctionBlock(const Function& func); |
538 void OpenAsyncClosure(); | 540 void OpenAsyncClosure(); |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
858 | 860 |
859 // Indentation of parser trace. | 861 // Indentation of parser trace. |
860 intptr_t trace_indent_; | 862 intptr_t trace_indent_; |
861 | 863 |
862 DISALLOW_COPY_AND_ASSIGN(Parser); | 864 DISALLOW_COPY_AND_ASSIGN(Parser); |
863 }; | 865 }; |
864 | 866 |
865 } // namespace dart | 867 } // namespace dart |
866 | 868 |
867 #endif // VM_PARSER_H_ | 869 #endif // VM_PARSER_H_ |
OLD | NEW |