Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(660)

Side by Side Diff: runtime/vm/parser.h

Issue 19023005: Implement forwarding constructors for mixins (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 void CheckConstructors(ClassDesc* members); 375 void CheckConstructors(ClassDesc* members);
376 AstNode* ParseExternalInitializedField(const Field& field); 376 AstNode* ParseExternalInitializedField(const Field& field);
377 void ParseInitializedInstanceFields( 377 void ParseInitializedInstanceFields(
378 const Class& cls, 378 const Class& cls,
379 LocalVariable* receiver, 379 LocalVariable* receiver,
380 GrowableArray<Field*>* initialized_fields); 380 GrowableArray<Field*>* initialized_fields);
381 void CheckDuplicateFieldInit(intptr_t init_pos, 381 void CheckDuplicateFieldInit(intptr_t init_pos,
382 GrowableArray<Field*>* initialized_fields, 382 GrowableArray<Field*>* initialized_fields,
383 Field* field); 383 Field* field);
384 void GenerateSuperConstructorCall(const Class& cls, 384 void GenerateSuperConstructorCall(const Class& cls,
385 LocalVariable* receiver); 385 LocalVariable* receiver,
386 ArgumentListNode* forwarding_args);
386 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver); 387 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver);
387 AstNode* ParseInitializer(const Class& cls, 388 AstNode* ParseInitializer(const Class& cls,
388 LocalVariable* receiver, 389 LocalVariable* receiver,
389 GrowableArray<Field*>* initialized_fields); 390 GrowableArray<Field*>* initialized_fields);
390 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver); 391 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver);
391 void ParseInitializers(const Class& cls, 392 void ParseInitializers(const Class& cls,
392 LocalVariable* receiver, 393 LocalVariable* receiver,
393 GrowableArray<Field*>* initialized_fields); 394 GrowableArray<Field*>* initialized_fields);
394 String& ParseNativeDeclaration(); 395 String& ParseNativeDeclaration();
395 void ParseInterfaceList(const Class& cls); 396 void ParseInterfaceList(const Class& cls);
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 // code at all points in the try block where an exit from the block is 680 // code at all points in the try block where an exit from the block is
680 // done using 'return', 'break' or 'continue' statements. 681 // done using 'return', 'break' or 'continue' statements.
681 TryBlocks* try_blocks_list_; 682 TryBlocks* try_blocks_list_;
682 683
683 DISALLOW_COPY_AND_ASSIGN(Parser); 684 DISALLOW_COPY_AND_ASSIGN(Parser);
684 }; 685 };
685 686
686 } // namespace dart 687 } // namespace dart
687 688
688 #endif // VM_PARSER_H_ 689 #endif // VM_PARSER_H_
OLDNEW
« runtime/vm/class_finalizer.cc ('K') | « runtime/vm/object.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698