#include <kernel_translation_helper.h>
|
enum | Field {
kPosition
, kEqualPosition
, kAnnotations
, kFlags
,
kNameIndex
, kType
, kInitializer
, kEnd
} |
|
enum | Flag {
kFinal = 1 << 0
, kConst = 1 << 1
, kHasDeclaredInitializer = 1 << 2
, kIsGenericCovariantImpl = 1 << 4
,
kLate = 1 << 5
, kRequired = 1 << 6
, kCovariant = 1 << 7
, kLowered = 1 << 8
,
kSynthesized = 1 << 9
, kHoisted = 1 << 10
, kWildcard = 1 << 11
} |
|
◆ Field
◆ Flag
Enumerator |
---|
kFinal | |
kConst | |
kHasDeclaredInitializer | |
kIsGenericCovariantImpl | |
kLate | |
kRequired | |
kCovariant | |
kLowered | |
kSynthesized | |
kHoisted | |
kWildcard | |
Definition at line 411 of file kernel_translation_helper.h.
411 {
423 };
@ kHasDeclaredInitializer
@ kIsGenericCovariantImpl
◆ VariableDeclarationHelper()
dart::kernel::VariableDeclarationHelper::VariableDeclarationHelper |
( |
KernelReaderHelper * |
helper | ) |
|
|
inlineexplicit |
◆ HasDeclaredInitializer()
bool dart::kernel::VariableDeclarationHelper::HasDeclaredInitializer |
( |
| ) |
const |
|
inline |
◆ IsConst()
bool dart::kernel::VariableDeclarationHelper::IsConst |
( |
| ) |
const |
|
inline |
◆ IsCovariant()
bool dart::kernel::VariableDeclarationHelper::IsCovariant |
( |
| ) |
const |
|
inline |
◆ IsFinal()
bool dart::kernel::VariableDeclarationHelper::IsFinal |
( |
| ) |
const |
|
inline |
◆ IsGenericCovariantImpl()
bool dart::kernel::VariableDeclarationHelper::IsGenericCovariantImpl |
( |
| ) |
const |
|
inline |
◆ IsHoisted()
bool dart::kernel::VariableDeclarationHelper::IsHoisted |
( |
| ) |
const |
|
inline |
◆ IsLate()
bool dart::kernel::VariableDeclarationHelper::IsLate |
( |
| ) |
const |
|
inline |
◆ IsRequired()
bool dart::kernel::VariableDeclarationHelper::IsRequired |
( |
| ) |
const |
|
inline |
◆ IsSynthesized()
bool dart::kernel::VariableDeclarationHelper::IsSynthesized |
( |
| ) |
const |
|
inline |
◆ IsWildcard()
bool dart::kernel::VariableDeclarationHelper::IsWildcard |
( |
| ) |
const |
|
inline |
◆ ReadUntilExcluding()
void dart::kernel::VariableDeclarationHelper::ReadUntilExcluding |
( |
Field |
field | ) |
|
Definition at line 1052 of file kernel_translation_helper.cc.
1052 {
1053 if (field <= next_read_) return;
1054
1055
1056 switch (next_read_) {
1059 if (++next_read_ == field) return;
1063 if (++next_read_ == field) return;
1069 }
1070 if (++next_read_ == field) return;
1074 if (++next_read_ == field) return;
1078 if (++next_read_ == field) return;
1082 if (++next_read_ == field) return;
1085 if (helper_->
ReadTag() == kSomething)
1087 if (++next_read_ == field) return;
1090 return;
1091 }
1092}
intptr_t ReadListLength()
TokenPosition ReadPosition()
Tag ReadTag(uint8_t *payload=nullptr)
StringIndex ReadStringReference()
TokenPosition equals_position_
◆ ReadUntilIncluding()
void dart::kernel::VariableDeclarationHelper::ReadUntilIncluding |
( |
Field |
field | ) |
|
|
inline |
◆ SetJustRead()
void dart::kernel::VariableDeclarationHelper::SetJustRead |
( |
Field |
field | ) |
|
|
inline |
◆ SetNext()
void dart::kernel::VariableDeclarationHelper::SetNext |
( |
Field |
field | ) |
|
|
inline |
◆ annotation_count_
intptr_t dart::kernel::VariableDeclarationHelper::annotation_count_ = 0 |
◆ equals_position_
TokenPosition dart::kernel::VariableDeclarationHelper::equals_position_ = TokenPosition::kNoSource |
◆ flags_
uint32_t dart::kernel::VariableDeclarationHelper::flags_ = 0 |
◆ name_index_
StringIndex dart::kernel::VariableDeclarationHelper::name_index_ |
◆ position_
TokenPosition dart::kernel::VariableDeclarationHelper::position_ = TokenPosition::kNoSource |
The documentation for this class was generated from the following files: