Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
dart::DispatcherKey Class Reference

#include <canonical_tables.h>

Public Member Functions

 DispatcherKey (const String &name, const Array &args_desc, UntaggedFunction::Kind kind)
 
bool Equals (const Function &other) const
 
uword Hash () const
 

Detailed Description

Definition at line 346 of file canonical_tables.h.

Constructor & Destructor Documentation

◆ DispatcherKey()

dart::DispatcherKey::DispatcherKey ( const String name,
const Array args_desc,
UntaggedFunction::Kind  kind 
)
inline

Definition at line 348 of file canonical_tables.h.

351 : name_(name), args_desc_(args_desc), kind_(kind) {}
const char *const name

Member Function Documentation

◆ Equals()

bool dart::DispatcherKey::Equals ( const Function other) const
inline

Definition at line 352 of file canonical_tables.h.

352 {
353 return (name_.ptr() == other.name()) &&
354 (args_desc_.ptr() == other.saved_args_desc()) &&
355 (kind_ == other.kind());
356 }
ObjectPtr ptr() const
Definition object.h:332

◆ Hash()

uword dart::DispatcherKey::Hash ( ) const
inline

Definition at line 357 of file canonical_tables.h.

357{ return CombineHashes(name_.Hash(), kind_); }
uword Hash() const
Definition object.h:10195
uint32_t CombineHashes(uint32_t hash, uint32_t other_hash)
Definition hash.h:12

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