Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
dart::Resolver Class Reference

#include <resolver.h>

Inheritance diagram for dart::Resolver:
dart::AllStatic

Static Public Member Functions

static FunctionPtr ResolveDynamicForReceiverClass (const Class &receiver_class, const String &function_name, const ArgumentsDescriptor &args_desc, bool allow_add)
 
static FunctionPtr ResolveDynamicForReceiverClassAllowPrivate (const Class &receiver_class, const String &function_name, const ArgumentsDescriptor &args_desc)
 
static FunctionPtr ResolveDynamicAnyArgs (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)
 

Detailed Description

Definition at line 23 of file resolver.h.

Member Function Documentation

◆ ResolveDynamicAnyArgs()

FunctionPtr dart::Resolver::ResolveDynamicAnyArgs ( Zone zone,
const Class receiver_class,
const String function_name,
bool  allow_add 
)
static

Definition at line 185 of file resolver.cc.

188 {
190 zone, receiver_class, function_name, allow_add,
192}
FunctionPtr LookupDynamicFunctionUnsafe(const String &name) const
Definition: object.cc:6129
static FunctionPtr ResolveDynamicAnyArgsWithCustomLookup(Zone *zone, const Class &receiver_class, const String &function_name, bool allow_add, std::function< FunctionPtr(Class &, const String &)> lookup)
Definition: resolver.cc:19
const char *const function_name

◆ ResolveDynamicForReceiverClass()

FunctionPtr dart::Resolver::ResolveDynamicForReceiverClass ( const Class receiver_class,
const String function_name,
const ArgumentsDescriptor args_desc,
bool  allow_add 
)
static

Definition at line 148 of file resolver.cc.

152 {
154 receiver_class, function_name, args_desc, allow_add,
156}
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)
Definition: resolver.cc:102

◆ ResolveDynamicForReceiverClassAllowPrivate()

FunctionPtr dart::Resolver::ResolveDynamicForReceiverClassAllowPrivate ( const Class receiver_class,
const String function_name,
const ArgumentsDescriptor args_desc 
)
static

Definition at line 158 of file resolver.cc.

161 {
163 receiver_class, function_name, args_desc, /*allow_add=*/false,
165}
FunctionPtr LookupDynamicFunctionAllowPrivate(const String &name) const
Definition: object.cc:6133

◆ ResolveDynamicFunction()

FunctionPtr dart::Resolver::ResolveDynamicFunction ( Zone zone,
const Class receiver_class,
const String function_name 
)
static

Definition at line 176 of file resolver.cc.

178 {
180 zone, receiver_class, function_name, /*allow_add=*/false,
181 std::mem_fn(static_cast<FunctionPtr (Class::*)(const String&) const>(
183}

◆ ResolveFunction()

FunctionPtr dart::Resolver::ResolveFunction ( Zone zone,
const Class receiver_class,
const String function_name 
)
static

Definition at line 167 of file resolver.cc.

169 {
171 zone, receiver_class, function_name, /*allow_add=*/false,
172 std::mem_fn(static_cast<FunctionPtr (Class::*)(const String&) const>(
174}
FunctionPtr LookupFunctionReadLocked(const String &name) const
Definition: object.cc:6171

The documentation for this class was generated from the following files: