| 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 "lib/invocation_mirror.h" | 10 #include "lib/invocation_mirror.h" |
| (...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver); | 413 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver); |
| 414 AstNode* ParseInitializer(const Class& cls, | 414 AstNode* ParseInitializer(const Class& cls, |
| 415 LocalVariable* receiver, | 415 LocalVariable* receiver, |
| 416 GrowableArray<Field*>* initialized_fields); | 416 GrowableArray<Field*>* initialized_fields); |
| 417 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver); | 417 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver); |
| 418 void ParseInitializers(const Class& cls, | 418 void ParseInitializers(const Class& cls, |
| 419 LocalVariable* receiver, | 419 LocalVariable* receiver, |
| 420 GrowableArray<Field*>* initialized_fields); | 420 GrowableArray<Field*>* initialized_fields); |
| 421 String& ParseNativeDeclaration(); | 421 String& ParseNativeDeclaration(); |
| 422 void ParseInterfaceList(const Class& cls); | 422 void ParseInterfaceList(const Class& cls); |
| 423 RawAbstractType* ParseMixins(const AbstractType& super_type); | 423 RawAbstractType* ParseMixins(const GrowableObjectArray& pending_classes, |
| 424 const AbstractType& super_type); |
| 424 static StaticCallNode* BuildInvocationMirrorAllocation( | 425 static StaticCallNode* BuildInvocationMirrorAllocation( |
| 425 intptr_t call_pos, | 426 intptr_t call_pos, |
| 426 const String& function_name, | 427 const String& function_name, |
| 427 const ArgumentListNode& function_args, | 428 const ArgumentListNode& function_args, |
| 428 const LocalVariable* temp = NULL); | 429 const LocalVariable* temp = NULL); |
| 429 // Build arguments for a NoSuchMethodCall. If LocalVariable temp is not NULL, | 430 // Build arguments for a NoSuchMethodCall. If LocalVariable temp is not NULL, |
| 430 // the last argument is stored in temp. | 431 // the last argument is stored in temp. |
| 431 static ArgumentListNode* BuildNoSuchMethodArguments( | 432 static ArgumentListNode* BuildNoSuchMethodArguments( |
| 432 intptr_t call_pos, | 433 intptr_t call_pos, |
| 433 const String& function_name, | 434 const String& function_name, |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 712 intptr_t last_used_try_index_; | 713 intptr_t last_used_try_index_; |
| 713 | 714 |
| 714 bool unregister_pending_function_; | 715 bool unregister_pending_function_; |
| 715 | 716 |
| 716 DISALLOW_COPY_AND_ASSIGN(Parser); | 717 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 717 }; | 718 }; |
| 718 | 719 |
| 719 } // namespace dart | 720 } // namespace dart |
| 720 | 721 |
| 721 #endif // VM_PARSER_H_ | 722 #endif // VM_PARSER_H_ |
| OLD | NEW |