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

Static Public Member Functions

static bool ReportStats ()
 
static const char * Name ()
 
static bool IsMatch (const Object &a, const Object &b)
 
static uword Hash (const Object &obj)
 

Detailed Description

Definition at line 501 of file isolate_reload.cc.

Member Function Documentation

◆ Hash()

static uword dart::LibraryMapTraits::Hash ( const Object obj)
inlinestatic

Definition at line 514 of file isolate_reload.cc.

514{ return Library::Cast(obj).UrlHash(); }

◆ IsMatch()

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

Definition at line 506 of file isolate_reload.cc.

506 {
507 if (!a.IsLibrary() || !b.IsLibrary()) {
508 return false;
509 }
510 return ProgramReloadContext::IsSameLibrary(Library::Cast(a),
511 Library::Cast(b));
512 }
static bool IsSameLibrary(const Library &a_lib, const Library &b_lib)
static bool b
struct MyStruct a[10]

◆ Name()

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

Definition at line 504 of file isolate_reload.cc.

504{ return "LibraryMapTraits"; }

◆ ReportStats()

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

Definition at line 503 of file isolate_reload.cc.

503{ return false; }

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