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

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

Issue 23190003: ClassMirror.mixin (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase Created 7 years, 4 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 "lib/invocation_mirror.h" 10 #include "lib/invocation_mirror.h"
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver); 389 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver);
390 AstNode* ParseInitializer(const Class& cls, 390 AstNode* ParseInitializer(const Class& cls,
391 LocalVariable* receiver, 391 LocalVariable* receiver,
392 GrowableArray<Field*>* initialized_fields); 392 GrowableArray<Field*>* initialized_fields);
393 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver); 393 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver);
394 void ParseInitializers(const Class& cls, 394 void ParseInitializers(const Class& cls,
395 LocalVariable* receiver, 395 LocalVariable* receiver,
396 GrowableArray<Field*>* initialized_fields); 396 GrowableArray<Field*>* initialized_fields);
397 String& ParseNativeDeclaration(); 397 String& ParseNativeDeclaration();
398 void ParseInterfaceList(const Class& cls); 398 void ParseInterfaceList(const Class& cls);
399 RawAbstractType* ParseMixins(const AbstractType& super_type); 399 RawAbstractType* ParseMixins(const AbstractType& super_type,
400 const Class& final_mixin_application);
400 static StaticCallNode* BuildInvocationMirrorAllocation( 401 static StaticCallNode* BuildInvocationMirrorAllocation(
401 intptr_t call_pos, 402 intptr_t call_pos,
402 const String& function_name, 403 const String& function_name,
403 const ArgumentListNode& function_args, 404 const ArgumentListNode& function_args,
404 const LocalVariable* temp = NULL); 405 const LocalVariable* temp = NULL);
405 // Build arguments for a NoSuchMethodCall. If LocalVariable temp is not NULL, 406 // Build arguments for a NoSuchMethodCall. If LocalVariable temp is not NULL,
406 // the last argument is stored in temp. 407 // the last argument is stored in temp.
407 static ArgumentListNode* BuildNoSuchMethodArguments( 408 static ArgumentListNode* BuildNoSuchMethodArguments(
408 intptr_t call_pos, 409 intptr_t call_pos,
409 const String& function_name, 410 const String& function_name,
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 // Each try in this function gets its own try index. 693 // Each try in this function gets its own try index.
693 intptr_t AllocateTryIndex() { return ++last_used_try_index_; } 694 intptr_t AllocateTryIndex() { return ++last_used_try_index_; }
694 intptr_t last_used_try_index_; 695 intptr_t last_used_try_index_;
695 696
696 DISALLOW_COPY_AND_ASSIGN(Parser); 697 DISALLOW_COPY_AND_ASSIGN(Parser);
697 }; 698 };
698 699
699 } // namespace dart 700 } // namespace dart
700 701
701 #endif // VM_PARSER_H_ 702 #endif // VM_PARSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698