| 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 "vm/ast.h" | 10 #include "vm/ast.h" |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 void CheckDuplicateFieldInit(intptr_t init_pos, | 318 void CheckDuplicateFieldInit(intptr_t init_pos, |
| 319 GrowableArray<Field*>* initialized_fields, | 319 GrowableArray<Field*>* initialized_fields, |
| 320 Field* field); | 320 Field* field); |
| 321 void GenerateSuperConstructorCall(const Class& cls, | 321 void GenerateSuperConstructorCall(const Class& cls, |
| 322 LocalVariable* receiver); | 322 LocalVariable* receiver); |
| 323 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver); | 323 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver); |
| 324 AstNode* ParseInitializer(const Class& cls, | 324 AstNode* ParseInitializer(const Class& cls, |
| 325 LocalVariable* receiver, | 325 LocalVariable* receiver, |
| 326 GrowableArray<Field*>* initialized_fields); | 326 GrowableArray<Field*>* initialized_fields); |
| 327 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver); | 327 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver); |
| 328 void CheckNoInitializersInExternal(); |
| 328 void ParseInitializers(const Class& cls, | 329 void ParseInitializers(const Class& cls, |
| 329 LocalVariable* receiver, | 330 LocalVariable* receiver, |
| 330 GrowableArray<Field*>* initialized_fields); | 331 GrowableArray<Field*>* initialized_fields); |
| 331 String& ParseNativeDeclaration(); | 332 String& ParseNativeDeclaration(); |
| 332 // TODO(srdjan): Return TypeArguments instead of Array? | 333 // TODO(srdjan): Return TypeArguments instead of Array? |
| 333 RawArray* ParseInterfaceList(); | 334 RawArray* ParseInterfaceList(); |
| 334 void AddInterfaces(intptr_t interfaces_pos, | 335 void AddInterfaces(intptr_t interfaces_pos, |
| 335 const Class& cls, | 336 const Class& cls, |
| 336 const Array& interfaces); | 337 const Array& interfaces); |
| 337 ArgumentListNode* BuildNoSuchMethodArguments( | 338 ArgumentListNode* BuildNoSuchMethodArguments( |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 570 | 571 |
| 571 // Allocate temporary only once per function. | 572 // Allocate temporary only once per function. |
| 572 LocalVariable* expression_temp_; | 573 LocalVariable* expression_temp_; |
| 573 | 574 |
| 574 DISALLOW_COPY_AND_ASSIGN(Parser); | 575 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 575 }; | 576 }; |
| 576 | 577 |
| 577 } // namespace dart | 578 } // namespace dart |
| 578 | 579 |
| 579 #endif // VM_PARSER_H_ | 580 #endif // VM_PARSER_H_ |
| OLD | NEW |