| 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 GrowableObjectArray& pending_classes, | 423 RawAbstractType* ParseMixins(const AbstractType& super_type); |
| 424 const AbstractType& super_type); | |
| 425 static StaticCallNode* BuildInvocationMirrorAllocation( | 424 static StaticCallNode* BuildInvocationMirrorAllocation( |
| 426 intptr_t call_pos, | 425 intptr_t call_pos, |
| 427 const String& function_name, | 426 const String& function_name, |
| 428 const ArgumentListNode& function_args, | 427 const ArgumentListNode& function_args, |
| 429 const LocalVariable* temp, | 428 const LocalVariable* temp, |
| 430 bool is_super_invocation); | 429 bool is_super_invocation); |
| 431 // Build arguments for a NoSuchMethodCall. If LocalVariable temp is not NULL, | 430 // Build arguments for a NoSuchMethodCall. If LocalVariable temp is not NULL, |
| 432 // the last argument is stored in temp. | 431 // the last argument is stored in temp. |
| 433 static ArgumentListNode* BuildNoSuchMethodArguments( | 432 static ArgumentListNode* BuildNoSuchMethodArguments( |
| 434 intptr_t call_pos, | 433 intptr_t call_pos, |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 720 intptr_t last_used_try_index_; | 719 intptr_t last_used_try_index_; |
| 721 | 720 |
| 722 bool unregister_pending_function_; | 721 bool unregister_pending_function_; |
| 723 | 722 |
| 724 DISALLOW_COPY_AND_ASSIGN(Parser); | 723 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 725 }; | 724 }; |
| 726 | 725 |
| 727 } // namespace dart | 726 } // namespace dart |
| 728 | 727 |
| 729 #endif // VM_PARSER_H_ | 728 #endif // VM_PARSER_H_ |
| OLD | NEW |