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

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

Issue 24631003: Add proper API for creating private symbols wrt a library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: maintain dart2js coverage Created 7 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.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 19 matching lines...) Expand all
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 const ArgumentsDescriptor& args_desc); 34 const ArgumentsDescriptor& args_desc);
35 35
36 static RawFunction* ResolveDynamicAnyArgs( 36 static RawFunction* ResolveDynamicAnyArgs(
37 const Class& receiver_class, 37 const Class& receiver_class,
38 const String& function_name); 38 const String& function_name);
39 39
40 // TODO(13355): Remove.
41 static RawFunction* ResolveDynamicAnyArgsAllowPrivate(
42 const Class& receiver_class,
43 const String& function_name);
44
45 enum StaticResolveType { 40 enum StaticResolveType {
46 kIsQualified, 41 kIsQualified,
47 kNotQualified 42 kNotQualified
48 }; 43 };
49 44
50 // Resolve specified dart static function. If library.IsNull, use 45 // Resolve specified dart static function. If library.IsNull, use
51 // either application library or core library if no application library 46 // either application library or core library if no application library
52 // exists. Passing negative num_arguments means that the function 47 // exists. Passing negative num_arguments means that the function
53 // will be resolved by name only. 48 // will be resolved by name only.
54 // Otherwise null is returned if the number or names of arguments are not 49 // Otherwise null is returned if the number or names of arguments are not
(...skipping 14 matching lines...) Expand all
69 static RawFunction* ResolveStatic(const Class& cls, 64 static RawFunction* ResolveStatic(const Class& cls,
70 const String& function_name, 65 const String& function_name,
71 intptr_t num_arguments, 66 intptr_t num_arguments,
72 const Array& argument_names, 67 const Array& argument_names,
73 StaticResolveType resolve_type); 68 StaticResolveType resolve_type);
74 }; 69 };
75 70
76 } // namespace dart 71 } // namespace dart
77 72
78 #endif // VM_RESOLVER_H_ 73 #endif // VM_RESOLVER_H_
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698