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

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

Issue 10513008: Fix super call invocation (issue 2028). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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 "vm/ast.h" 10 #include "vm/ast.h"
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver); 301 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver);
302 AstNode* ParseInitializer(const Class& cls, LocalVariable* receiver); 302 AstNode* ParseInitializer(const Class& cls, LocalVariable* receiver);
303 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver); 303 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver);
304 void ParseInitializers(const Class& cls, LocalVariable* receiver); 304 void ParseInitializers(const Class& cls, LocalVariable* receiver);
305 String& ParseNativeDeclaration(); 305 String& ParseNativeDeclaration();
306 // TODO(srdjan): Return TypeArguments instead of Array? 306 // TODO(srdjan): Return TypeArguments instead of Array?
307 RawArray* ParseInterfaceList(); 307 RawArray* ParseInterfaceList();
308 void AddInterfaces(intptr_t interfaces_pos, 308 void AddInterfaces(intptr_t interfaces_pos,
309 const Class& cls, 309 const Class& cls,
310 const Array& interfaces); 310 const Array& interfaces);
311 RawFunction* GetSuperFunction(intptr_t token_pos, const String& name); 311 ArgumentListNode* BuildNoSuchMethodArguments(const String& function_name,
312 ArgumentListNode* function_args);
313 RawFunction* GetSuperFunction(intptr_t token_pos,
314 const String& name,
315 bool* is_no_such_method);
312 AstNode* ParseSuperCall(const String& function_name); 316 AstNode* ParseSuperCall(const String& function_name);
313 AstNode* ParseSuperFieldAccess(const String& field_name); 317 AstNode* ParseSuperFieldAccess(const String& field_name);
314 AstNode* ParseSuperOperator(); 318 AstNode* ParseSuperOperator();
315 319
316 static void SetupDefaultsForOptionalParams(const ParamList* params, 320 static void SetupDefaultsForOptionalParams(const ParamList* params,
317 Array& default_values); 321 Array& default_values);
318 AstNode* CreateImplicitClosureNode(const Function& func, 322 AstNode* CreateImplicitClosureNode(const Function& func,
319 intptr_t token_pos, 323 intptr_t token_pos,
320 AstNode* receiver); 324 AstNode* receiver);
321 void AddFormalParamsToFunction(const ParamList* params, const Function& func); 325 void AddFormalParamsToFunction(const ParamList* params, const Function& func);
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 534
531 // Allocate temporary only once per function. 535 // Allocate temporary only once per function.
532 LocalVariable* expression_temp_; 536 LocalVariable* expression_temp_;
533 537
534 DISALLOW_COPY_AND_ASSIGN(Parser); 538 DISALLOW_COPY_AND_ASSIGN(Parser);
535 }; 539 };
536 540
537 } // namespace dart 541 } // namespace dart
538 542
539 #endif // VM_PARSER_H_ 543 #endif // VM_PARSER_H_
OLDNEW
« no previous file with comments | « runtime/vm/code_generator_ia32.cc ('k') | runtime/vm/parser.cc » ('j') | runtime/vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698