| 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 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 469 void ParseInitializedInstanceFields( | 469 void ParseInitializedInstanceFields( |
| 470 const Class& cls, | 470 const Class& cls, |
| 471 LocalVariable* receiver, | 471 LocalVariable* receiver, |
| 472 GrowableArray<Field*>* initialized_fields); | 472 GrowableArray<Field*>* initialized_fields); |
| 473 AstNode* CheckDuplicateFieldInit( | 473 AstNode* CheckDuplicateFieldInit( |
| 474 intptr_t init_pos, | 474 intptr_t init_pos, |
| 475 GrowableArray<Field*>* initialized_fields, | 475 GrowableArray<Field*>* initialized_fields, |
| 476 AstNode* instance, | 476 AstNode* instance, |
| 477 Field* field, | 477 Field* field, |
| 478 AstNode* init_value); | 478 AstNode* init_value); |
| 479 void GenerateSuperConstructorCall(const Class& cls, | 479 StaticCallNode* GenerateSuperConstructorCall( |
| 480 intptr_t supercall_pos, | 480 const Class& cls, |
| 481 LocalVariable* receiver, | 481 intptr_t supercall_pos, |
| 482 AstNode* phase_parameter, | 482 LocalVariable* receiver, |
| 483 ArgumentListNode* forwarding_args); | 483 AstNode* phase_parameter, |
| 484 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver); | 484 ArgumentListNode* forwarding_args); |
| 485 StaticCallNode* ParseSuperInitializer( |
| 486 const Class& cls, |
| 487 LocalVariable* receiver); |
| 485 AstNode* ParseInitializer(const Class& cls, | 488 AstNode* ParseInitializer(const Class& cls, |
| 486 LocalVariable* receiver, | 489 LocalVariable* receiver, |
| 487 GrowableArray<Field*>* initialized_fields); | 490 GrowableArray<Field*>* initialized_fields); |
| 488 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver); | 491 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver); |
| 489 void ParseInitializers(const Class& cls, | 492 void ParseInitializers(const Class& cls, |
| 490 LocalVariable* receiver, | 493 LocalVariable* receiver, |
| 491 GrowableArray<Field*>* initialized_fields); | 494 GrowableArray<Field*>* initialized_fields); |
| 492 String& ParseNativeDeclaration(); | 495 String& ParseNativeDeclaration(); |
| 493 void ParseInterfaceList(const Class& cls); | 496 void ParseInterfaceList(const Class& cls); |
| 494 RawAbstractType* ParseMixins(const AbstractType& super_type); | 497 RawAbstractType* ParseMixins(const AbstractType& super_type); |
| (...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 883 | 886 |
| 884 // Indentation of parser trace. | 887 // Indentation of parser trace. |
| 885 intptr_t trace_indent_; | 888 intptr_t trace_indent_; |
| 886 | 889 |
| 887 DISALLOW_COPY_AND_ASSIGN(Parser); | 890 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 888 }; | 891 }; |
| 889 | 892 |
| 890 } // namespace dart | 893 } // namespace dart |
| 891 | 894 |
| 892 #endif // VM_PARSER_H_ | 895 #endif // VM_PARSER_H_ |
| OLD | NEW |