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

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

Issue 11088014: Look up getter in super call (issue 3621). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 | « runtime/vm/object.h ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »
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 "vm/ast.h" 10 #include "vm/ast.h"
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 void AddInterfaceIfUnique(intptr_t interfaces_pos, 349 void AddInterfaceIfUnique(intptr_t interfaces_pos,
350 const GrowableObjectArray& interface_list, 350 const GrowableObjectArray& interface_list,
351 const AbstractType& interface); 351 const AbstractType& interface);
352 void AddInterfaces(intptr_t interfaces_pos, 352 void AddInterfaces(intptr_t interfaces_pos,
353 const Class& cls, 353 const Class& cls,
354 const Array& interfaces); 354 const Array& interfaces);
355 ArgumentListNode* BuildNoSuchMethodArguments( 355 ArgumentListNode* BuildNoSuchMethodArguments(
356 const String& function_name, const ArgumentListNode& function_args); 356 const String& function_name, const ArgumentListNode& function_args);
357 RawFunction* GetSuperFunction(intptr_t token_pos, 357 RawFunction* GetSuperFunction(intptr_t token_pos,
358 const String& name, 358 const String& name,
359 bool resolve_getter,
359 bool* is_no_such_method); 360 bool* is_no_such_method);
360 AstNode* ParseSuperCall(const String& function_name); 361 AstNode* ParseSuperCall(const String& function_name);
361 AstNode* ParseSuperFieldAccess(const String& field_name); 362 AstNode* ParseSuperFieldAccess(const String& field_name);
362 AstNode* ParseSuperOperator(); 363 AstNode* ParseSuperOperator();
363 364
364 static void SetupDefaultsForOptionalParams(const ParamList* params, 365 static void SetupDefaultsForOptionalParams(const ParamList* params,
365 Array& default_values); 366 Array& default_values);
366 AstNode* CreateImplicitClosureNode(const Function& func, 367 AstNode* CreateImplicitClosureNode(const Function& func,
367 intptr_t token_pos, 368 intptr_t token_pos,
368 AstNode* receiver); 369 AstNode* receiver);
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 612
612 // Allocate temporary only once per function. 613 // Allocate temporary only once per function.
613 LocalVariable* expression_temp_; 614 LocalVariable* expression_temp_;
614 615
615 DISALLOW_COPY_AND_ASSIGN(Parser); 616 DISALLOW_COPY_AND_ASSIGN(Parser);
616 }; 617 };
617 618
618 } // namespace dart 619 } // namespace dart
619 620
620 #endif // VM_PARSER_H_ 621 #endif // VM_PARSER_H_
OLDNEW
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698