Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
dart::CanonicalTypeArgumentsKey Class Reference

#include <canonical_tables.h>

Public Member Functions

 CanonicalTypeArgumentsKey (const TypeArguments &key)
 
bool Matches (const TypeArguments &arg) const
 
uword Hash () const
 

Public Attributes

const TypeArgumentskey_
 

Detailed Description

Definition at line 295 of file canonical_tables.h.

Constructor & Destructor Documentation

◆ CanonicalTypeArgumentsKey()

dart::CanonicalTypeArgumentsKey::CanonicalTypeArgumentsKey ( const TypeArguments key)
inlineexplicit

Definition at line 297 of file canonical_tables.h.

297: key_(key) {}

Member Function Documentation

◆ Hash()

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

Definition at line 301 of file canonical_tables.h.

301{ return key_.Hash(); }
uword Hash() const
Definition: object.h:13396

◆ Matches()

bool dart::CanonicalTypeArgumentsKey::Matches ( const TypeArguments arg) const
inline

Definition at line 298 of file canonical_tables.h.

298 {
299 return key_.Equals(arg) && (key_.Hash() == arg.Hash());
300 }
bool Equals(const TypeArguments &other) const
Definition: object.h:8686

Member Data Documentation

◆ key_

const TypeArguments& dart::CanonicalTypeArgumentsKey::key_

Definition at line 302 of file canonical_tables.h.


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