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

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

Issue 1382533003: Add flag which moves super initializer statement (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « no previous file | runtime/vm/parser.cc » ('j') | runtime/vm/parser.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "platform/assert.h" 10 #include "platform/assert.h"
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 void ParseInitializedInstanceFields( 469 void ParseInitializedInstanceFields(
470 const Class& cls, 470 const Class& cls,
471 LocalVariable* receiver, 471 LocalVariable* receiver,
472 GrowableArray<Field*>* initialized_fields); 472 GrowableArray<Field*>* initialized_fields);
473 AstNode* CheckDuplicateFieldInit( 473 AstNode* CheckDuplicateFieldInit(
474 intptr_t init_pos, 474 intptr_t init_pos,
475 GrowableArray<Field*>* initialized_fields, 475 GrowableArray<Field*>* initialized_fields,
476 AstNode* instance, 476 AstNode* instance,
477 Field* field, 477 Field* field,
478 AstNode* init_value); 478 AstNode* init_value);
479 void GenerateSuperConstructorCall(const Class& cls, 479 StaticCallNode* GenerateSuperConstructorCall(
480 intptr_t supercall_pos, 480 const Class& cls,
481 LocalVariable* receiver, 481 intptr_t supercall_pos,
482 AstNode* phase_parameter, 482 LocalVariable* receiver,
483 ArgumentListNode* forwarding_args); 483 AstNode* phase_parameter,
484 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver); 484 ArgumentListNode* forwarding_args);
485 StaticCallNode* ParseSuperInitializer(
486 const Class& cls,
487 LocalVariable* receiver);
485 AstNode* ParseInitializer(const Class& cls, 488 AstNode* ParseInitializer(const Class& cls,
486 LocalVariable* receiver, 489 LocalVariable* receiver,
487 GrowableArray<Field*>* initialized_fields); 490 GrowableArray<Field*>* initialized_fields);
488 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver); 491 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver);
489 void ParseInitializers(const Class& cls, 492 void ParseInitializers(const Class& cls,
490 LocalVariable* receiver, 493 LocalVariable* receiver,
491 GrowableArray<Field*>* initialized_fields); 494 GrowableArray<Field*>* initialized_fields);
492 String& ParseNativeDeclaration(); 495 String& ParseNativeDeclaration();
493 void ParseInterfaceList(const Class& cls); 496 void ParseInterfaceList(const Class& cls);
494 RawAbstractType* ParseMixins(const AbstractType& super_type); 497 RawAbstractType* ParseMixins(const AbstractType& super_type);
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
883 886
884 // Indentation of parser trace. 887 // Indentation of parser trace.
885 intptr_t trace_indent_; 888 intptr_t trace_indent_;
886 889
887 DISALLOW_COPY_AND_ASSIGN(Parser); 890 DISALLOW_COPY_AND_ASSIGN(Parser);
888 }; 891 };
889 892
890 } // namespace dart 893 } // namespace dart
891 894
892 #endif // VM_PARSER_H_ 895 #endif // VM_PARSER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/parser.cc » ('j') | runtime/vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698