| 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 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 GrowableArray<Field*>* initialized_fields); | 458 GrowableArray<Field*>* initialized_fields); |
| 459 AstNode* CheckDuplicateFieldInit( | 459 AstNode* CheckDuplicateFieldInit( |
| 460 intptr_t init_pos, | 460 intptr_t init_pos, |
| 461 GrowableArray<Field*>* initialized_fields, | 461 GrowableArray<Field*>* initialized_fields, |
| 462 AstNode* instance, | 462 AstNode* instance, |
| 463 Field* field, | 463 Field* field, |
| 464 AstNode* init_value); | 464 AstNode* init_value); |
| 465 void GenerateSuperConstructorCall(const Class& cls, | 465 void GenerateSuperConstructorCall(const Class& cls, |
| 466 intptr_t supercall_pos, | 466 intptr_t supercall_pos, |
| 467 LocalVariable* receiver, | 467 LocalVariable* receiver, |
| 468 AstNode* phase_parameter, |
| 468 ArgumentListNode* forwarding_args); | 469 ArgumentListNode* forwarding_args); |
| 469 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver); | 470 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver); |
| 470 AstNode* ParseInitializer(const Class& cls, | 471 AstNode* ParseInitializer(const Class& cls, |
| 471 LocalVariable* receiver, | 472 LocalVariable* receiver, |
| 472 GrowableArray<Field*>* initialized_fields); | 473 GrowableArray<Field*>* initialized_fields); |
| 473 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver); | 474 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver); |
| 474 void ParseInitializers(const Class& cls, | 475 void ParseInitializers(const Class& cls, |
| 475 LocalVariable* receiver, | 476 LocalVariable* receiver, |
| 476 GrowableArray<Field*>* initialized_fields); | 477 GrowableArray<Field*>* initialized_fields); |
| 477 String& ParseNativeDeclaration(); | 478 String& ParseNativeDeclaration(); |
| (...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 855 | 856 |
| 856 // Indentation of parser trace. | 857 // Indentation of parser trace. |
| 857 intptr_t trace_indent_; | 858 intptr_t trace_indent_; |
| 858 | 859 |
| 859 DISALLOW_COPY_AND_ASSIGN(Parser); | 860 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 860 }; | 861 }; |
| 861 | 862 |
| 862 } // namespace dart | 863 } // namespace dart |
| 863 | 864 |
| 864 #endif // VM_PARSER_H_ | 865 #endif // VM_PARSER_H_ |
| OLD | NEW |