Flutter Engine
The Flutter Engine
|
#include <kernel_translation_helper.h>
Definition at line 25 of file kernel_translation_helper.h.
|
explicit |
Definition at line 27 of file kernel_translation_helper.cc.
dart::kernel::TranslationHelper::TranslationHelper | ( | Thread * | thread, |
Heap::Space | space | ||
) |
Definition at line 42 of file kernel_translation_helper.cc.
|
inlinevirtual |
Definition at line 31 of file kernel_translation_helper.h.
|
inline |
Definition at line 43 of file kernel_translation_helper.h.
|
inline |
Definition at line 52 of file kernel_translation_helper.h.
InstancePtr dart::kernel::TranslationHelper::Canonicalize | ( | const Instance & | instance | ) |
Definition at line 308 of file kernel_translation_helper.cc.
Definition at line 164 of file kernel_translation_helper.cc.
StringIndex dart::kernel::TranslationHelper::CanonicalNameString | ( | NameIndex | name | ) |
Definition at line 172 of file kernel_translation_helper.cc.
uint8_t dart::kernel::TranslationHelper::CharacterAt | ( | StringIndex | string_index, |
intptr_t | index | ||
) |
Definition at line 136 of file kernel_translation_helper.cc.
|
inline |
Definition at line 62 of file kernel_translation_helper.h.
|
inline |
Definition at line 66 of file kernel_translation_helper.h.
Definition at line 390 of file kernel_translation_helper.cc.
Definition at line 396 of file kernel_translation_helper.cc.
Definition at line 483 of file kernel_translation_helper.cc.
Definition at line 462 of file kernel_translation_helper.cc.
const String & dart::kernel::TranslationHelper::DartFieldName | ( | NameIndex | parent, |
StringIndex | field | ||
) |
Definition at line 466 of file kernel_translation_helper.cc.
Definition at line 449 of file kernel_translation_helper.cc.
const String & dart::kernel::TranslationHelper::DartGetterName | ( | NameIndex | parent, |
StringIndex | getter | ||
) |
Definition at line 454 of file kernel_translation_helper.cc.
String & dart::kernel::TranslationHelper::DartIdentifier | ( | const Library & | lib, |
StringIndex | string_index | ||
) |
Definition at line 383 of file kernel_translation_helper.cc.
Definition at line 472 of file kernel_translation_helper.cc.
const String & dart::kernel::TranslationHelper::DartMethodName | ( | NameIndex | parent, |
StringIndex | method | ||
) |
Definition at line 477 of file kernel_translation_helper.cc.
Definition at line 401 of file kernel_translation_helper.cc.
const String & dart::kernel::TranslationHelper::DartSetterName | ( | NameIndex | parent, |
StringIndex | setter | ||
) |
Definition at line 422 of file kernel_translation_helper.cc.
Definition at line 417 of file kernel_translation_helper.cc.
|
inline |
Definition at line 106 of file kernel_translation_helper.h.
const String & dart::kernel::TranslationHelper::DartString | ( | const char * | content, |
Heap::Space | space | ||
) |
Definition at line 314 of file kernel_translation_helper.cc.
const String & dart::kernel::TranslationHelper::DartString | ( | const GrowableHandlePtrArray< const String > & | pieces | ) |
Definition at line 336 of file kernel_translation_helper.cc.
String & dart::kernel::TranslationHelper::DartString | ( | const uint8_t * | utf8_array, |
intptr_t | len, | ||
Heap::Space | space | ||
) |
Definition at line 330 of file kernel_translation_helper.cc.
|
inline |
Definition at line 111 of file kernel_translation_helper.h.
String & dart::kernel::TranslationHelper::DartString | ( | StringIndex | string_index, |
Heap::Space | space | ||
) |
Definition at line 319 of file kernel_translation_helper.cc.
const String & dart::kernel::TranslationHelper::DartSymbolObfuscate | ( | const char * | content | ) | const |
Definition at line 357 of file kernel_translation_helper.cc.
String & dart::kernel::TranslationHelper::DartSymbolObfuscate | ( | StringIndex | string_index | ) | const |
Definition at line 367 of file kernel_translation_helper.cc.
const String & dart::kernel::TranslationHelper::DartSymbolPlain | ( | const char * | content | ) | const |
Definition at line 341 of file kernel_translation_helper.cc.
String & dart::kernel::TranslationHelper::DartSymbolPlain | ( | StringIndex | string_index | ) | const |
Definition at line 345 of file kernel_translation_helper.cc.
Definition at line 298 of file kernel_translation_helper.cc.
Definition at line 779 of file kernel_translation_helper.cc.
|
inline |
Definition at line 215 of file kernel_translation_helper.h.
|
inline |
Definition at line 204 of file kernel_translation_helper.h.
|
inline |
Definition at line 226 of file kernel_translation_helper.h.
|
inline |
Definition at line 70 of file kernel_translation_helper.h.
void dart::kernel::TranslationHelper::InitFromKernelProgramInfo | ( | const KernelProgramInfo & | info | ) |
Definition at line 66 of file kernel_translation_helper.cc.
bool dart::kernel::TranslationHelper::IsAdministrative | ( | NameIndex | name | ) |
Definition at line 176 of file kernel_translation_helper.cc.
bool dart::kernel::TranslationHelper::IsClass | ( | NameIndex | name | ) |
Definition at line 197 of file kernel_translation_helper.cc.
bool dart::kernel::TranslationHelper::IsConstructor | ( | NameIndex | name | ) |
Definition at line 208 of file kernel_translation_helper.cc.
bool dart::kernel::TranslationHelper::IsFactory | ( | NameIndex | name | ) |
Definition at line 269 of file kernel_translation_helper.cc.
bool dart::kernel::TranslationHelper::IsField | ( | NameIndex | name | ) |
Definition at line 284 of file kernel_translation_helper.cc.
bool dart::kernel::TranslationHelper::IsGetter | ( | NameIndex | name | ) |
Definition at line 241 of file kernel_translation_helper.cc.
bool dart::kernel::TranslationHelper::IsLibrary | ( | NameIndex | name | ) |
Definition at line 192 of file kernel_translation_helper.cc.
bool dart::kernel::TranslationHelper::IsMember | ( | NameIndex | name | ) |
Definition at line 204 of file kernel_translation_helper.cc.
bool dart::kernel::TranslationHelper::IsMethod | ( | NameIndex | name | ) |
Definition at line 227 of file kernel_translation_helper.cc.
|
inline |
Definition at line 41 of file kernel_translation_helper.h.
bool dart::kernel::TranslationHelper::IsPrivate | ( | NameIndex | name | ) |
Definition at line 182 of file kernel_translation_helper.cc.
bool dart::kernel::TranslationHelper::IsProcedure | ( | NameIndex | name | ) |
bool dart::kernel::TranslationHelper::IsRoot | ( | NameIndex | name | ) |
Definition at line 188 of file kernel_translation_helper.cc.
bool dart::kernel::TranslationHelper::IsSetter | ( | NameIndex | name | ) |
Definition at line 255 of file kernel_translation_helper.cc.
|
virtual |
Reimplemented in dart::kernel::BuildingTranslationHelper.
Definition at line 542 of file kernel_translation_helper.cc.
ClassPtr dart::kernel::TranslationHelper::LookupClassByKernelClassOrLibrary | ( | NameIndex | kernel_name, |
bool | required = true |
||
) |
Definition at line 576 of file kernel_translation_helper.cc.
FunctionPtr dart::kernel::TranslationHelper::LookupConstructorByKernelConstructor | ( | const Class & | owner, |
NameIndex | constructor, | ||
bool | required = true |
||
) |
Definition at line 682 of file kernel_translation_helper.cc.
FunctionPtr dart::kernel::TranslationHelper::LookupConstructorByKernelConstructor | ( | const Class & | owner, |
StringIndex | constructor_name, | ||
bool | required = true |
||
) |
Definition at line 697 of file kernel_translation_helper.cc.
FunctionPtr dart::kernel::TranslationHelper::LookupConstructorByKernelConstructor | ( | NameIndex | constructor, |
bool | required = true |
||
) |
Definition at line 664 of file kernel_translation_helper.cc.
FunctionPtr dart::kernel::TranslationHelper::LookupDynamicFunction | ( | const Class & | klass, |
const String & | name | ||
) |
Definition at line 764 of file kernel_translation_helper.cc.
void dart::kernel::TranslationHelper::LookupFailed | ( | NameIndex | name | ) |
Definition at line 493 of file kernel_translation_helper.cc.
void dart::kernel::TranslationHelper::LookupFailed | ( | StringIndex | name | ) |
Definition at line 505 of file kernel_translation_helper.cc.
FieldPtr dart::kernel::TranslationHelper::LookupFieldByKernelField | ( | NameIndex | field, |
bool | required = true |
||
) |
Definition at line 592 of file kernel_translation_helper.cc.
FieldPtr dart::kernel::TranslationHelper::LookupFieldByKernelGetterOrSetter | ( | NameIndex | field, |
bool | required = true |
||
) |
Definition at line 614 of file kernel_translation_helper.cc.
|
virtual |
Reimplemented in dart::kernel::BuildingTranslationHelper.
Definition at line 511 of file kernel_translation_helper.cc.
ObjectPtr dart::kernel::TranslationHelper::LookupMemberByMember | ( | NameIndex | kernel_name, |
bool | required = true |
||
) |
Definition at line 734 of file kernel_translation_helper.cc.
FunctionPtr dart::kernel::TranslationHelper::LookupMethodByMember | ( | NameIndex | target, |
const String & | method_name, | ||
bool | required = true |
||
) |
Definition at line 718 of file kernel_translation_helper.cc.
FunctionPtr dart::kernel::TranslationHelper::LookupStaticMethodByKernelProcedure | ( | NameIndex | procedure, |
bool | required = true |
||
) |
Definition at line 637 of file kernel_translation_helper.cc.
|
inline |
Definition at line 58 of file kernel_translation_helper.h.
|
inline |
Definition at line 55 of file kernel_translation_helper.h.
void dart::kernel::TranslationHelper::ReportError | ( | const char * | format, |
... | |||
) |
Definition at line 840 of file kernel_translation_helper.cc.
void dart::kernel::TranslationHelper::ReportError | ( | const Error & | prev_error, |
const char * | format, | ||
... | |||
) |
Definition at line 863 of file kernel_translation_helper.cc.
void dart::kernel::TranslationHelper::ReportError | ( | const Error & | prev_error, |
const Script & | script, | ||
const TokenPosition | position, | ||
const char * | format, | ||
... | |||
) |
Definition at line 876 of file kernel_translation_helper.cc.
void dart::kernel::TranslationHelper::ReportError | ( | const Script & | script, |
const TokenPosition | position, | ||
const char * | format, | ||
... | |||
) |
Definition at line 851 of file kernel_translation_helper.cc.
void dart::kernel::TranslationHelper::Reset | ( | ) |
Definition at line 57 of file kernel_translation_helper.cc.
void dart::kernel::TranslationHelper::SetCanonicalNames | ( | const TypedData & | canonical_names | ) |
Definition at line 94 of file kernel_translation_helper.cc.
void dart::kernel::TranslationHelper::SetConstants | ( | const Array & | constants | ) |
Definition at line 112 of file kernel_translation_helper.cc.
void dart::kernel::TranslationHelper::SetConstantsTable | ( | const TypedDataView & | constants_table | ) |
Definition at line 118 of file kernel_translation_helper.cc.
|
inline |
Definition at line 210 of file kernel_translation_helper.h.
|
inline |
Definition at line 200 of file kernel_translation_helper.h.
|
inline |
Definition at line 221 of file kernel_translation_helper.h.
void dart::kernel::TranslationHelper::SetKernelProgramInfo | ( | const KernelProgramInfo & | info | ) |
Definition at line 124 of file kernel_translation_helper.cc.
void dart::kernel::TranslationHelper::SetMetadataMappings | ( | const TypedDataView & | metadata_mappings | ) |
Definition at line 106 of file kernel_translation_helper.cc.
void dart::kernel::TranslationHelper::SetMetadataPayloads | ( | const TypedDataView & | metadata_payloads | ) |
Definition at line 99 of file kernel_translation_helper.cc.
void dart::kernel::TranslationHelper::SetStringData | ( | const TypedDataView & | string_data | ) |
Definition at line 89 of file kernel_translation_helper.cc.
void dart::kernel::TranslationHelper::SetStringOffsets | ( | const TypedData & | string_offsets | ) |
Definition at line 84 of file kernel_translation_helper.cc.
void dart::kernel::TranslationHelper::SetupFieldAccessorFunction | ( | const Class & | klass, |
const Function & | function, | ||
const AbstractType & | field_type | ||
) |
Definition at line 810 of file kernel_translation_helper.cc.
|
inline |
Definition at line 49 of file kernel_translation_helper.h.
|
inline |
Definition at line 46 of file kernel_translation_helper.h.
uint8_t * dart::kernel::TranslationHelper::StringBuffer | ( | StringIndex | index | ) | const |
Definition at line 142 of file kernel_translation_helper.cc.
bool dart::kernel::TranslationHelper::StringEquals | ( | StringIndex | string_index, |
const char * | other | ||
) |
Definition at line 155 of file kernel_translation_helper.cc.
intptr_t dart::kernel::TranslationHelper::StringOffset | ( | StringIndex | index | ) | const |
Definition at line 128 of file kernel_translation_helper.cc.
intptr_t dart::kernel::TranslationHelper::StringSize | ( | StringIndex | index | ) | const |
Definition at line 132 of file kernel_translation_helper.cc.
|
inline |
Definition at line 37 of file kernel_translation_helper.h.
|
inline |
Definition at line 39 of file kernel_translation_helper.h.