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

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

Issue 10849004: Fix super getter/setter (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/resolver.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) 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_RESOLVER_H_ 5 #ifndef VM_RESOLVER_H_
6 #define VM_RESOLVER_H_ 6 #define VM_RESOLVER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 16 matching lines...) Expand all
27 const String& function_name, 27 const String& function_name,
28 int num_arguments, 28 int num_arguments,
29 int num_named_arguments); 29 int num_named_arguments);
30 30
31 static RawFunction* ResolveDynamicForReceiverClass( 31 static RawFunction* ResolveDynamicForReceiverClass(
32 const Class& receiver_class, 32 const Class& receiver_class,
33 const String& function_name, 33 const String& function_name,
34 int num_arguments, 34 int num_arguments,
35 int num_named_arguments); 35 int num_named_arguments);
36 36
37 static RawFunction* ResolveDynamicAnyArgs(
38 const Class& receiver_class,
39 const String& function_name);
40
37 enum StaticResolveType { 41 enum StaticResolveType {
38 kIsQualified, 42 kIsQualified,
39 kNotQualified 43 kNotQualified
40 }; 44 };
41 45
42 // Resolve specified dart static function. If library.IsNull, use 46 // Resolve specified dart static function. If library.IsNull, use
43 // either application library or core library if no application library 47 // either application library or core library if no application library
44 // exists. Passing negative num_arguments means that the function 48 // exists. Passing negative num_arguments means that the function
45 // will be resolved by name only. 49 // will be resolved by name only.
46 // Otherwise null is returned if the number or names of arguments are not 50 // Otherwise null is returned if the number or names of arguments are not
(...skipping 14 matching lines...) Expand all
61 static RawFunction* ResolveStatic(const Class& cls, 65 static RawFunction* ResolveStatic(const Class& cls,
62 const String& function_name, 66 const String& function_name,
63 int num_arguments, 67 int num_arguments,
64 const Array& argument_names, 68 const Array& argument_names,
65 StaticResolveType resolve_type); 69 StaticResolveType resolve_type);
66 }; 70 };
67 71
68 } // namespace dart 72 } // namespace dart
69 73
70 #endif // VM_RESOLVER_H_ 74 #endif // VM_RESOLVER_H_
OLDNEW
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698