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

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

Issue 8286003: Create implicit super constructor call if necessary (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 "vm/ast.h" 10 #include "vm/ast.h"
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 ParamList* params); 214 ParamList* params);
215 void ParseFormalParameters(bool allow_explicit_default_values, 215 void ParseFormalParameters(bool allow_explicit_default_values,
216 ParamList* params); 216 ParamList* params);
217 void ParseFormalParameterList(bool allow_explicit_default_values, 217 void ParseFormalParameterList(bool allow_explicit_default_values,
218 ParamList* params); 218 ParamList* params);
219 void ParseNamedFormalParameters(bool are_implicitly_const, ParamList* params); 219 void ParseNamedFormalParameters(bool are_implicitly_const, ParamList* params);
220 void CheckConstFieldsInitialized(const Class& cls); 220 void CheckConstFieldsInitialized(const Class& cls);
221 void CheckConstructors(ClassDesc* members); 221 void CheckConstructors(ClassDesc* members);
222 void ParseInitializedInstanceFields(const Class& cls, 222 void ParseInitializedInstanceFields(const Class& cls,
223 GrowableArray<FieldInitExpression>* initializers); 223 GrowableArray<FieldInitExpression>* initializers);
224 void GenerateSuperInitializerCall(const Class& cls, LocalVariable* receiver);
224 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver); 225 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver);
225 AstNode* ParseInitializer(const Class& cls, LocalVariable* receiver); 226 AstNode* ParseInitializer(const Class& cls, LocalVariable* receiver);
226 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver); 227 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver);
227 void ParseInitializers(const Class& cls, LocalVariable* receiver); 228 void ParseInitializers(const Class& cls);
228 String& ParseNativeDeclaration(); 229 String& ParseNativeDeclaration();
229 RawArray* ParseInterfaceList(); 230 RawArray* ParseInterfaceList();
230 void AddInterfaces(intptr_t interfaces_pos, 231 void AddInterfaces(intptr_t interfaces_pos,
231 const Class& cls, 232 const Class& cls,
232 const Array& interfaces); 233 const Array& interfaces);
233 RawFunction* GetSuperFunction(intptr_t token_pos, const String& name); 234 RawFunction* GetSuperFunction(intptr_t token_pos, const String& name);
234 AstNode* ParseSuperCall(const String& function_name); 235 AstNode* ParseSuperCall(const String& function_name);
235 AstNode* ParseSuperFieldAccess(const String& field_name); 236 AstNode* ParseSuperFieldAccess(const String& field_name);
236 AstNode* ParseSuperOperator(); 237 AstNode* ParseSuperOperator();
237 238
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 TryBlocks* try_blocks_list_; 437 TryBlocks* try_blocks_list_;
437 438
438 char error_msg_[kErrorBuflen]; 439 char error_msg_[kErrorBuflen];
439 440
440 DISALLOW_COPY_AND_ASSIGN(Parser); 441 DISALLOW_COPY_AND_ASSIGN(Parser);
441 }; 442 };
442 443
443 } // namespace dart 444 } // namespace dart
444 445
445 #endif // VM_PARSER_H_ 446 #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