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

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

Issue 11231074: Change signature of noSuchMethod to take an InvocationMirror. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: One more test expectation Created 8 years, 1 month 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/flow_graph_builder.cc ('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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 GrowableArray<Field*>* initialized_fields); 350 GrowableArray<Field*>* initialized_fields);
351 String& ParseNativeDeclaration(); 351 String& ParseNativeDeclaration();
352 // TODO(srdjan): Return TypeArguments instead of Array? 352 // TODO(srdjan): Return TypeArguments instead of Array?
353 RawArray* ParseInterfaceList(); 353 RawArray* ParseInterfaceList();
354 void AddInterfaceIfUnique(intptr_t interfaces_pos, 354 void AddInterfaceIfUnique(intptr_t interfaces_pos,
355 const GrowableObjectArray& interface_list, 355 const GrowableObjectArray& interface_list,
356 const AbstractType& interface); 356 const AbstractType& interface);
357 void AddInterfaces(intptr_t interfaces_pos, 357 void AddInterfaces(intptr_t interfaces_pos,
358 const Class& cls, 358 const Class& cls,
359 const Array& interfaces); 359 const Array& interfaces);
360 StaticCallNode* BuildInvocationMirrorAllocation(
361 intptr_t call_pos,
362 const String& function_name,
363 const ArgumentListNode& function_args);
360 ArgumentListNode* BuildNoSuchMethodArguments( 364 ArgumentListNode* BuildNoSuchMethodArguments(
361 const String& function_name, const ArgumentListNode& function_args); 365 intptr_t call_pos,
366 const String& function_name,
367 const ArgumentListNode& function_args);
362 RawFunction* GetSuperFunction(intptr_t token_pos, 368 RawFunction* GetSuperFunction(intptr_t token_pos,
363 const String& name, 369 const String& name,
364 bool resolve_getter, 370 bool resolve_getter,
365 bool* is_no_such_method); 371 bool* is_no_such_method);
366 AstNode* ParseSuperCall(const String& function_name); 372 AstNode* ParseSuperCall(const String& function_name);
367 AstNode* ParseSuperFieldAccess(const String& field_name); 373 AstNode* ParseSuperFieldAccess(const String& field_name);
368 AstNode* ParseSuperOperator(); 374 AstNode* ParseSuperOperator();
369 AstNode* BuildUnarySuperOperator(Token::Kind op, PrimaryNode* super); 375 AstNode* BuildUnarySuperOperator(Token::Kind op, PrimaryNode* super);
370 376
371 static void SetupDefaultsForOptionalParams(const ParamList* params, 377 static void SetupDefaultsForOptionalParams(const ParamList* params,
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 625
620 // Allocate temporary only once per function. 626 // Allocate temporary only once per function.
621 LocalVariable* expression_temp_; 627 LocalVariable* expression_temp_;
622 628
623 DISALLOW_COPY_AND_ASSIGN(Parser); 629 DISALLOW_COPY_AND_ASSIGN(Parser);
624 }; 630 };
625 631
626 } // namespace dart 632 } // namespace dart
627 633
628 #endif // VM_PARSER_H_ 634 #endif // VM_PARSER_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698