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

Public Types

typedef const TypedDataKey
 
typedef const TypedDataValue
 
typedef const TypedDataPair
 

Static Public Member Functions

static Key KeyOf (Pair kv)
 
static Value ValueOf (Pair kv)
 
static uword Hash (Key key)
 
static bool IsKeyEqual (Pair pair, Key key)
 

Detailed Description

Definition at line 776 of file program_visitor.cc.

Member Typedef Documentation

◆ Key

Definition at line 779 of file program_visitor.cc.

◆ Pair

Definition at line 781 of file program_visitor.cc.

◆ Value

Definition at line 780 of file program_visitor.cc.

Member Function Documentation

◆ Hash()

static uword dart::TypedDataKeyValueTrait::Hash ( Key  key)
inlinestatic

Definition at line 787 of file program_visitor.cc.

787{ return key->CanonicalizeHash(); }

◆ IsKeyEqual()

static bool dart::TypedDataKeyValueTrait::IsKeyEqual ( Pair  pair,
Key  key 
)
inlinestatic

Definition at line 789 of file program_visitor.cc.

789 {
790 return pair->CanonicalizeEquals(*key);
791 }

◆ KeyOf()

static Key dart::TypedDataKeyValueTrait::KeyOf ( Pair  kv)
inlinestatic

Definition at line 783 of file program_visitor.cc.

783{ return kv; }

◆ ValueOf()

static Value dart::TypedDataKeyValueTrait::ValueOf ( Pair  kv)
inlinestatic

Definition at line 785 of file program_visitor.cc.

785{ return kv; }

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