#include <resolver.h>
|
static FunctionPtr | ResolveDynamic (const Instance &receiver, const String &function_name, const ArgumentsDescriptor &args_desc) |
|
static FunctionPtr | ResolveDynamicForReceiverClass (const Class &receiver_class, const String &function_name, const ArgumentsDescriptor &args_desc, bool allow_add=true) |
|
static FunctionPtr | ResolveDynamicForReceiverClassAllowPrivate (const Class &receiver_class, const String &function_name, const ArgumentsDescriptor &args_desc, bool allow_add) |
|
static FunctionPtr | ResolveDynamicAnyArgs (Zone *zone, const Class &receiver_class, const String &function_name, bool allow_add=true) |
|
static FunctionPtr | ResolveDynamicAnyArgsAllowPrivate (Zone *zone, const Class &receiver_class, const String &function_name, bool allow_add) |
|
static FunctionPtr | ResolveDynamicFunction (Zone *zone, const Class &receiver_class, const String &function_name) |
|
static FunctionPtr | ResolveFunction (Zone *zone, const Class &receiver_class, const String &function_name) |
|
Definition at line 23 of file resolver.h.
◆ ResolveDynamic()
Definition at line 25 of file resolver.cc.
27 {
28
31}
static FunctionPtr ResolveDynamicForReceiverClass(const Class &receiver_class, const String &function_name, const ArgumentsDescriptor &args_desc, bool allow_add=true)
const char *const function_name
◆ ResolveDynamicAnyArgs()
FunctionPtr dart::Resolver::ResolveDynamicAnyArgs |
( |
Zone * |
zone, |
|
|
const Class & |
receiver_class, |
|
|
const String & |
function_name, |
|
|
bool |
allow_add = true |
|
) |
| |
|
static |
Definition at line 198 of file resolver.cc.
201 {
205}
FunctionPtr LookupDynamicFunctionUnsafe(const String &name) const
static FunctionPtr ResolveDynamicAnyArgsWithCustomLookup(Zone *zone, const Class &receiver_class, const String &function_name, bool allow_add, std::function< FunctionPtr(Class &, const String &)> lookup)
◆ ResolveDynamicAnyArgsAllowPrivate()
FunctionPtr dart::Resolver::ResolveDynamicAnyArgsAllowPrivate |
( |
Zone * |
zone, |
|
|
const Class & |
receiver_class, |
|
|
const String & |
function_name, |
|
|
bool |
allow_add |
|
) |
| |
|
static |
Definition at line 207 of file resolver.cc.
211 {
215}
FunctionPtr LookupDynamicFunctionAllowPrivate(const String &name) const
◆ ResolveDynamicForReceiverClass()
FunctionPtr dart::Resolver::ResolveDynamicForReceiverClass |
( |
const Class & |
receiver_class, |
|
|
const String & |
function_name, |
|
|
const ArgumentsDescriptor & |
args_desc, |
|
|
bool |
allow_add = true |
|
) |
| |
|
static |
Definition at line 160 of file resolver.cc.
164 {
168}
static FunctionPtr ResolveDynamicForReceiverClassWithCustomLookup(const Class &receiver_class, const String &function_name, const ArgumentsDescriptor &args_desc, bool allow_add, std::function< FunctionPtr(Class &, const String &)> lookup)
◆ ResolveDynamicForReceiverClassAllowPrivate()
FunctionPtr dart::Resolver::ResolveDynamicForReceiverClassAllowPrivate |
( |
const Class & |
receiver_class, |
|
|
const String & |
function_name, |
|
|
const ArgumentsDescriptor & |
args_desc, |
|
|
bool |
allow_add |
|
) |
| |
|
static |
◆ ResolveDynamicFunction()
FunctionPtr dart::Resolver::ResolveDynamicFunction |
( |
Zone * |
zone, |
|
|
const Class & |
receiver_class, |
|
|
const String & |
function_name |
|
) |
| |
|
static |
Definition at line 189 of file resolver.cc.
191 {
194 std::mem_fn(static_cast<FunctionPtr (Class::*)(const String&) const>(
196}
◆ ResolveFunction()
FunctionPtr dart::Resolver::ResolveFunction |
( |
Zone * |
zone, |
|
|
const Class & |
receiver_class, |
|
|
const String & |
function_name |
|
) |
| |
|
static |
Definition at line 180 of file resolver.cc.
182 {
185 std::mem_fn(static_cast<FunctionPtr (Class::*)(const String&) const>(
187}
FunctionPtr LookupFunctionReadLocked(const String &name) const
The documentation for this class was generated from the following files: