| 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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 LocalVariable* receiver); | 344 LocalVariable* receiver); |
| 345 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver); | 345 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver); |
| 346 AstNode* ParseInitializer(const Class& cls, | 346 AstNode* ParseInitializer(const Class& cls, |
| 347 LocalVariable* receiver, | 347 LocalVariable* receiver, |
| 348 GrowableArray<Field*>* initialized_fields); | 348 GrowableArray<Field*>* initialized_fields); |
| 349 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver); | 349 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver); |
| 350 void ParseInitializers(const Class& cls, | 350 void ParseInitializers(const Class& cls, |
| 351 LocalVariable* receiver, | 351 LocalVariable* receiver, |
| 352 GrowableArray<Field*>* initialized_fields); | 352 GrowableArray<Field*>* initialized_fields); |
| 353 String& ParseNativeDeclaration(); | 353 String& ParseNativeDeclaration(); |
| 354 RawArray* ParseInterfaceList(); | 354 RawArray* ParseInterfaceList(const Type& super_type); |
| 355 void AddInterfaceIfUnique(intptr_t interfaces_pos, | 355 void AddInterfaceIfUnique(intptr_t interfaces_pos, |
| 356 const GrowableObjectArray& interface_list, | 356 const GrowableObjectArray& interface_list, |
| 357 const AbstractType& interface); | 357 const AbstractType& interface); |
| 358 void AddInterfaces(intptr_t interfaces_pos, | 358 void AddInterfaces(intptr_t interfaces_pos, |
| 359 const Class& cls, | 359 const Class& cls, |
| 360 const Array& interfaces); | 360 const Array& interfaces); |
| 361 StaticCallNode* BuildInvocationMirrorAllocation( | 361 StaticCallNode* BuildInvocationMirrorAllocation( |
| 362 intptr_t call_pos, | 362 intptr_t call_pos, |
| 363 const String& function_name, | 363 const String& function_name, |
| 364 const ArgumentListNode& function_args); | 364 const ArgumentListNode& function_args); |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 626 | 626 |
| 627 // Allocate temporary only once per function. | 627 // Allocate temporary only once per function. |
| 628 LocalVariable* expression_temp_; | 628 LocalVariable* expression_temp_; |
| 629 | 629 |
| 630 DISALLOW_COPY_AND_ASSIGN(Parser); | 630 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 631 }; | 631 }; |
| 632 | 632 |
| 633 } // namespace dart | 633 } // namespace dart |
| 634 | 634 |
| 635 #endif // VM_PARSER_H_ | 635 #endif // VM_PARSER_H_ |
| OLD | NEW |