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