| 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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 void CheckConstructors(ClassDesc* members); | 382 void CheckConstructors(ClassDesc* members); |
| 383 AstNode* ParseExternalInitializedField(const Field& field); | 383 AstNode* ParseExternalInitializedField(const Field& field); |
| 384 void ParseInitializedInstanceFields( | 384 void ParseInitializedInstanceFields( |
| 385 const Class& cls, | 385 const Class& cls, |
| 386 LocalVariable* receiver, | 386 LocalVariable* receiver, |
| 387 GrowableArray<Field*>* initialized_fields); | 387 GrowableArray<Field*>* initialized_fields); |
| 388 void CheckDuplicateFieldInit(intptr_t init_pos, | 388 void CheckDuplicateFieldInit(intptr_t init_pos, |
| 389 GrowableArray<Field*>* initialized_fields, | 389 GrowableArray<Field*>* initialized_fields, |
| 390 Field* field); | 390 Field* field); |
| 391 void GenerateSuperConstructorCall(const Class& cls, | 391 void GenerateSuperConstructorCall(const Class& cls, |
| 392 intptr_t supercall_pos, |
| 392 LocalVariable* receiver, | 393 LocalVariable* receiver, |
| 393 ArgumentListNode* forwarding_args); | 394 ArgumentListNode* forwarding_args); |
| 394 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver); | 395 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver); |
| 395 AstNode* ParseInitializer(const Class& cls, | 396 AstNode* ParseInitializer(const Class& cls, |
| 396 LocalVariable* receiver, | 397 LocalVariable* receiver, |
| 397 GrowableArray<Field*>* initialized_fields); | 398 GrowableArray<Field*>* initialized_fields); |
| 398 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver); | 399 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver); |
| 399 void ParseInitializers(const Class& cls, | 400 void ParseInitializers(const Class& cls, |
| 400 LocalVariable* receiver, | 401 LocalVariable* receiver, |
| 401 GrowableArray<Field*>* initialized_fields); | 402 GrowableArray<Field*>* initialized_fields); |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 713 intptr_t last_used_try_index_; | 714 intptr_t last_used_try_index_; |
| 714 | 715 |
| 715 bool unregister_pending_function_; | 716 bool unregister_pending_function_; |
| 716 | 717 |
| 717 DISALLOW_COPY_AND_ASSIGN(Parser); | 718 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 718 }; | 719 }; |
| 719 | 720 |
| 720 } // namespace dart | 721 } // namespace dart |
| 721 | 722 |
| 722 #endif // VM_PARSER_H_ | 723 #endif // VM_PARSER_H_ |
| OLD | NEW |