Flutter Engine
The Flutter Engine
|
#include <constant_reader.h>
Public Member Functions | |
ConstantReader (KernelReaderHelper *helper, ActiveClass *active_class) | |
virtual | ~ConstantReader () |
bool | IsPragmaInstanceConstant (intptr_t constant_index, intptr_t *pragma_name_constant_index, intptr_t *pragma_options_constant_index) |
bool | IsStringConstant (intptr_t constant_index, const char *name) |
bool | GetStringConstant (intptr_t constant_index, String *out_value) |
InstancePtr | ReadConstantInitializer () |
InstancePtr | ReadConstantExpression () |
ObjectPtr | ReadAnnotations () |
bool | IsInstanceConstant (intptr_t constant_index, const Class &clazz) |
InstancePtr | ReadConstant (intptr_t constant_index) |
intptr_t | NumConstants () |
Definition at line 20 of file constant_reader.h.
dart::kernel::ConstantReader::ConstantReader | ( | KernelReaderHelper * | helper, |
ActiveClass * | active_class | ||
) |
Definition at line 19 of file constant_reader.cc.
|
inlinevirtual |
Definition at line 24 of file constant_reader.h.
bool dart::kernel::ConstantReader::GetStringConstant | ( | intptr_t | constant_index, |
String * | out_value | ||
) |
Definition at line 87 of file constant_reader.cc.
bool dart::kernel::ConstantReader::IsInstanceConstant | ( | intptr_t | constant_index, |
const Class & | clazz | ||
) |
Definition at line 193 of file constant_reader.cc.
bool dart::kernel::ConstantReader::IsPragmaInstanceConstant | ( | intptr_t | constant_index, |
intptr_t * | pragma_name_constant_index, | ||
intptr_t * | pragma_options_constant_index | ||
) |
Definition at line 27 of file constant_reader.cc.
bool dart::kernel::ConstantReader::IsStringConstant | ( | intptr_t | constant_index, |
const char * | name | ||
) |
Definition at line 75 of file constant_reader.cc.
intptr_t dart::kernel::ConstantReader::NumConstants | ( | ) |
Definition at line 207 of file constant_reader.cc.
ObjectPtr dart::kernel::ConstantReader::ReadAnnotations | ( | ) |
Definition at line 147 of file constant_reader.cc.
InstancePtr dart::kernel::ConstantReader::ReadConstant | ( | intptr_t | constant_index | ) |
Definition at line 160 of file constant_reader.cc.
InstancePtr dart::kernel::ConstantReader::ReadConstantExpression | ( | ) |
Definition at line 114 of file constant_reader.cc.
InstancePtr dart::kernel::ConstantReader::ReadConstantInitializer | ( | ) |
Definition at line 100 of file constant_reader.cc.