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

Static Public Member Functions

static const char * Name ()
 
static bool ReportStats ()
 
static bool IsMatch (const Object &a, const Object &b)
 
static uword Hash (const Object &key)
 
static ObjectPtr NewKey (const Array &arr)
 

Detailed Description

Definition at line 27881 of file object.cc.

Member Function Documentation

◆ Hash()

static uword dart::RecordFieldNamesMapTraits::Hash ( const Object key)
inlinestatic

Definition at line 27890 of file object.cc.

27890 {
27891 return Array::Cast(key).CanonicalizeHash();
27892 }

◆ IsMatch()

static bool dart::RecordFieldNamesMapTraits::IsMatch ( const Object a,
const Object b 
)
inlinestatic

Definition at line 27886 of file object.cc.

27886 {
27887 return Array::Cast(a).CanonicalizeEquals(Array::Cast(b));
27888 }
static bool b
struct MyStruct a[10]

◆ Name()

static const char * dart::RecordFieldNamesMapTraits::Name ( )
inlinestatic

Definition at line 27883 of file object.cc.

27883{ return "RecordFieldNamesMapTraits"; }

◆ NewKey()

static ObjectPtr dart::RecordFieldNamesMapTraits::NewKey ( const Array arr)
inlinestatic

Definition at line 27894 of file object.cc.

27894{ return arr.ptr(); }

◆ ReportStats()

static bool dart::RecordFieldNamesMapTraits::ReportStats ( )
inlinestatic

Definition at line 27884 of file object.cc.

27884{ return false; }

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