| 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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 LocalVariable* receiver); | 379 LocalVariable* receiver); |
| 380 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver); | 380 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver); |
| 381 AstNode* ParseInitializer(const Class& cls, | 381 AstNode* ParseInitializer(const Class& cls, |
| 382 LocalVariable* receiver, | 382 LocalVariable* receiver, |
| 383 GrowableArray<Field*>* initialized_fields); | 383 GrowableArray<Field*>* initialized_fields); |
| 384 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver); | 384 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver); |
| 385 void ParseInitializers(const Class& cls, | 385 void ParseInitializers(const Class& cls, |
| 386 LocalVariable* receiver, | 386 LocalVariable* receiver, |
| 387 GrowableArray<Field*>* initialized_fields); | 387 GrowableArray<Field*>* initialized_fields); |
| 388 String& ParseNativeDeclaration(); | 388 String& ParseNativeDeclaration(); |
| 389 RawArray* ParseInterfaceList(const AbstractType& super_type); | 389 void ParseInterfaceList(const Class& cls); |
| 390 RawAbstractType* ParseMixins(const AbstractType& super_type); | 390 RawAbstractType* ParseMixins(const AbstractType& super_type); |
| 391 void AddInterfaceIfUnique(intptr_t interfaces_pos, | |
| 392 const GrowableObjectArray& interface_list, | |
| 393 const AbstractType& interface); | |
| 394 void AddInterfaces(intptr_t interfaces_pos, | |
| 395 const Class& cls, | |
| 396 const Array& interfaces); | |
| 397 StaticCallNode* BuildInvocationMirrorAllocation( | 391 StaticCallNode* BuildInvocationMirrorAllocation( |
| 398 intptr_t call_pos, | 392 intptr_t call_pos, |
| 399 const String& function_name, | 393 const String& function_name, |
| 400 const ArgumentListNode& function_args); | 394 const ArgumentListNode& function_args); |
| 401 ArgumentListNode* BuildNoSuchMethodArguments( | 395 ArgumentListNode* BuildNoSuchMethodArguments( |
| 402 intptr_t call_pos, | 396 intptr_t call_pos, |
| 403 const String& function_name, | 397 const String& function_name, |
| 404 const ArgumentListNode& function_args); | 398 const ArgumentListNode& function_args); |
| 405 RawFunction* GetSuperFunction(intptr_t token_pos, | 399 RawFunction* GetSuperFunction(intptr_t token_pos, |
| 406 const String& name, | 400 const String& name, |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 671 // code at all points in the try block where an exit from the block is | 665 // code at all points in the try block where an exit from the block is |
| 672 // done using 'return', 'break' or 'continue' statements. | 666 // done using 'return', 'break' or 'continue' statements. |
| 673 TryBlocks* try_blocks_list_; | 667 TryBlocks* try_blocks_list_; |
| 674 | 668 |
| 675 DISALLOW_COPY_AND_ASSIGN(Parser); | 669 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 676 }; | 670 }; |
| 677 | 671 |
| 678 } // namespace dart | 672 } // namespace dart |
| 679 | 673 |
| 680 #endif // VM_PARSER_H_ | 674 #endif // VM_PARSER_H_ |
| OLD | NEW |