#include <parser.h>
Definition at line 42 of file parser.h.
◆ Key
◆ Pair
◆ Value
◆ Hash()
static uword dart::FieldKeyValueTrait::Hash |
( |
Key |
key | ) |
|
|
inlinestatic |
Definition at line 53 of file parser.h.
53 {
54 const TokenPosition token_pos =
key->token_pos();
55 if (token_pos.IsReal()) {
56 return token_pos.Hash();
57 }
58 return key->kernel_offset();
59 }
◆ IsKeyEqual()
static bool dart::FieldKeyValueTrait::IsKeyEqual |
( |
Pair |
pair, |
|
|
Key |
key |
|
) |
| |
|
inlinestatic |
Definition at line 61 of file parser.h.
61 {
62 return pair->Original() ==
key->Original();
63 }
◆ KeyOf()
static Key dart::FieldKeyValueTrait::KeyOf |
( |
Pair |
kv | ) |
|
|
inlinestatic |
◆ ValueOf()
static Value dart::FieldKeyValueTrait::ValueOf |
( |
Pair |
kv | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file:
- third_party/dart-lang/sdk/runtime/vm/parser.h