Flutter Engine
The Flutter Engine
|
#include <object.h>
Public Types | |
enum | InvocationDispatcherEntry { kInvocationDispatcherName , kInvocationDispatcherArgsDesc , kInvocationDispatcherFunction , kInvocationDispatcherEntrySize } |
Public Types inherited from dart::Object | |
enum | NameVisibility { kInternalName = 0 , kScrubbedName , kUserVisibleName } |
enum class | NameDisambiguation { kYes , kNo } |
using | UntaggedObjectType = UntaggedObject |
using | ObjectPtrType = ObjectPtr |
Public Member Functions | |
bool | HasCompressedPointers () const |
intptr_t | host_instance_size () const |
intptr_t | target_instance_size () const |
void | set_instance_size (intptr_t host_value_in_bytes, intptr_t target_value_in_bytes) const |
void | set_instance_size_in_words (intptr_t host_value, intptr_t target_value) const |
intptr_t | host_next_field_offset () const |
intptr_t | target_next_field_offset () const |
void | set_next_field_offset (intptr_t host_value_in_bytes, intptr_t target_value_in_bytes) const |
void | set_next_field_offset_in_words (intptr_t host_value, intptr_t target_value) const |
intptr_t | id () const |
void | set_id (intptr_t value) const |
intptr_t | implementor_cid () const |
bool | NoteImplementor (const Class &implementor) const |
StringPtr | Name () const |
StringPtr | ScrubbedName () const |
const char * | ScrubbedNameCString () const |
StringPtr | UserVisibleName () const |
const char * | UserVisibleNameCString () const |
const char * | NameCString (NameVisibility name_visibility) const |
ClassPtr | Mixin () const |
bool | IsInFullSnapshot () const |
virtual StringPtr | DictionaryName () const |
ScriptPtr | script () const |
void | set_script (const Script &value) const |
KernelProgramInfoPtr | KernelProgramInfo () const |
TokenPosition | token_pos () const |
void | set_token_pos (TokenPosition value) const |
TokenPosition | end_token_pos () const |
void | set_end_token_pos (TokenPosition value) const |
uint32_t | Hash () const |
int32_t | SourceFingerprint () const |
TypePtr | RareType () const |
TypePtr | DeclarationType () const |
TypeArgumentsPtr | GetDeclarationInstanceTypeArguments () const |
TypeArgumentsPtr | GetInstanceTypeArguments (Thread *thread, const TypeArguments &type_arguments, bool canonicalize=true) const |
LibraryPtr | library () const |
void | set_library (const Library &value) const |
TypeParametersPtr | type_parameters () const |
void | set_type_parameters (const TypeParameters &value) const |
intptr_t | NumTypeParameters (Thread *thread) const |
intptr_t | NumTypeParameters () const |
TypeParameterPtr | TypeParameterAt (intptr_t index, Nullability nullability=Nullability::kNonNullable) const |
intptr_t | NumTypeArguments () const |
bool | IsGeneric () const |
TypeArgumentsPtr | DefaultTypeArguments (Zone *zone) const |
intptr_t | host_type_arguments_field_offset () const |
intptr_t | target_type_arguments_field_offset () const |
void | set_type_arguments_field_offset (intptr_t host_value_in_bytes, intptr_t target_value_in_bytes) const |
void | set_type_arguments_field_offset_in_words (intptr_t host_value, intptr_t target_value) const |
TypePtr | super_type () const |
void | set_super_type (const Type &value) const |
ClassPtr | SuperClass (ClassTable *class_table=nullptr) const |
ArrayPtr | interfaces () const |
void | set_interfaces (const Array &value) const |
bool | FindInstantiationOf (Zone *zone, const Class &cls, GrowableArray< const Type * > *path, bool consider_only_super_classes=false) const |
bool | FindInstantiationOf (Zone *zone, const Class &cls, bool consider_only_super_classes=false) const |
bool | FindInstantiationOf (Zone *zone, const Type &type, GrowableArray< const Type * > *path, bool consider_only_super_classes=false) const |
bool | FindInstantiationOf (Zone *zone, const Type &type, bool consider_only_super_classes=false) const |
TypePtr | GetInstantiationOf (Zone *zone, const Class &cls) const |
TypePtr | GetInstantiationOf (Zone *zone, const Type &type) const |
GrowableObjectArrayPtr | direct_implementors () const |
GrowableObjectArrayPtr | direct_implementors_unsafe () const |
void | set_direct_implementors (const GrowableObjectArray &implementors) const |
void | AddDirectImplementor (const Class &subclass, bool is_mixin) const |
GrowableObjectArrayPtr | direct_subclasses () const |
GrowableObjectArrayPtr | direct_subclasses_unsafe () const |
void | set_direct_subclasses (const GrowableObjectArray &subclasses) const |
void | AddDirectSubclass (const Class &subclass) const |
bool | IsNullClass () const |
bool | IsDynamicClass () const |
bool | IsVoidClass () const |
bool | IsNeverClass () const |
bool | IsObjectClass () const |
bool | IsDartFunctionClass () const |
bool | IsFutureClass () const |
bool | IsFutureOrClass () const |
bool | IsClosureClass () const |
bool | IsRecordClass () const |
bool | IsTopLevel () const |
bool | IsPrivate () const |
DART_WARN_UNUSED_RESULT ErrorPtr | VerifyEntryPoint () const |
ArrayPtr | fields () const |
void | SetFields (const Array &value) const |
void | AddField (const Field &field) const |
void | AddFields (const GrowableArray< const Field * > &fields) const |
intptr_t | FindFieldIndex (const Field &needle) const |
FieldPtr | FieldFromIndex (intptr_t idx) const |
bool | InjectCIDFields () const |
ArrayPtr | OffsetToFieldMap (ClassTable *class_table=nullptr) const |
bool | HasInstanceFields () const |
ArrayPtr | current_functions () const |
ArrayPtr | functions () const |
void | SetFunctions (const Array &value) const |
void | AddFunction (const Function &function) const |
intptr_t | FindFunctionIndex (const Function &needle) const |
FunctionPtr | FunctionFromIndex (intptr_t idx) const |
intptr_t | FindImplicitClosureFunctionIndex (const Function &needle) const |
FunctionPtr | ImplicitClosureFunctionFromIndex (intptr_t idx) const |
FunctionPtr | LookupFunctionReadLocked (const String &name) const |
FunctionPtr | LookupDynamicFunctionUnsafe (const String &name) const |
FunctionPtr | LookupDynamicFunctionAllowPrivate (const String &name) const |
FunctionPtr | LookupStaticFunction (const String &name) const |
FunctionPtr | LookupStaticFunctionAllowPrivate (const String &name) const |
FunctionPtr | LookupConstructor (const String &name) const |
FunctionPtr | LookupConstructorAllowPrivate (const String &name) const |
FunctionPtr | LookupFactory (const String &name) const |
FunctionPtr | LookupFactoryAllowPrivate (const String &name) const |
FunctionPtr | LookupFunctionAllowPrivate (const String &name) const |
FunctionPtr | LookupGetterFunction (const String &name) const |
FunctionPtr | LookupSetterFunction (const String &name) const |
FieldPtr | LookupInstanceField (const String &name) const |
FieldPtr | LookupStaticField (const String &name) const |
FieldPtr | LookupField (const String &name) const |
FieldPtr | LookupFieldAllowPrivate (const String &name, bool instance_only=false) const |
FieldPtr | LookupInstanceFieldAllowPrivate (const String &name) const |
FieldPtr | LookupStaticFieldAllowPrivate (const String &name) const |
InstancePtr | LookupCanonicalInstance (Zone *zone, const Instance &value) const |
InstancePtr | InsertCanonicalConstant (Zone *zone, const Instance &constant) const |
bool | is_implemented () const |
void | set_is_implemented () const |
void | set_is_implemented_unsafe () const |
bool | is_abstract () const |
void | set_is_abstract () const |
UntaggedClass::ClassLoadingState | class_loading_state () const |
bool | is_declaration_loaded () const |
void | set_is_declaration_loaded () const |
void | set_is_declaration_loaded_unsafe () const |
bool | is_type_finalized () const |
void | set_is_type_finalized () const |
bool | is_synthesized_class () const |
void | set_is_synthesized_class () const |
void | set_is_synthesized_class_unsafe () const |
bool | is_enum_class () const |
void | set_is_enum_class () const |
bool | is_finalized () const |
void | set_is_finalized () const |
void | set_is_finalized_unsafe () const |
bool | is_allocate_finalized () const |
void | set_is_allocate_finalized () const |
bool | is_prefinalized () const |
void | set_is_prefinalized () const |
bool | is_const () const |
void | set_is_const () const |
bool | is_transformed_mixin_application () const |
void | set_is_transformed_mixin_application () const |
bool | is_sealed () const |
void | set_is_sealed () const |
bool | is_mixin_class () const |
void | set_is_mixin_class () const |
bool | is_base_class () const |
void | set_is_base_class () const |
bool | is_interface_class () const |
void | set_is_interface_class () const |
bool | is_final () const |
void | set_is_final () const |
bool | is_fields_marked_nullable () const |
void | set_is_fields_marked_nullable () const |
bool | is_allocated () const |
void | set_is_allocated (bool value) const |
void | set_is_allocated_unsafe (bool value) const |
bool | is_loaded () const |
void | set_is_loaded (bool value) const |
uint16_t | num_native_fields () const |
void | set_num_native_fields (uint16_t value) const |
CodePtr | allocation_stub () const |
void | set_allocation_stub (const Code &value) const |
intptr_t | kernel_offset () const |
void | set_kernel_offset (intptr_t value) const |
void | DisableAllocationStub () const |
ArrayPtr | constants () const |
void | set_constants (const Array &value) const |
intptr_t | FindInvocationDispatcherFunctionIndex (const Function &needle) const |
FunctionPtr | InvocationDispatcherFunctionFromIndex (intptr_t idx) const |
FunctionPtr | GetInvocationDispatcher (const String &target_name, const Array &args_desc, UntaggedFunction::Kind kind, bool create_if_absent) const |
FunctionPtr | GetRecordFieldGetter (const String &getter_name) const |
void | Finalize () const |
ObjectPtr | Invoke (const String &selector, const Array &arguments, const Array &argument_names, bool respect_reflectable=true, bool check_is_entrypoint=false) const |
ObjectPtr | InvokeGetter (const String &selector, bool throw_nsm_if_absent, bool respect_reflectable=true, bool check_is_entrypoint=false) const |
ObjectPtr | InvokeSetter (const String &selector, const Instance &argument, bool respect_reflectable=true, bool check_is_entrypoint=false) const |
ObjectPtr | EvaluateCompiledExpression (const ExternalTypedData &kernel_buffer, const Array &type_definitions, const Array ¶m_values, const TypeArguments &type_param_values) const |
void | EnsureDeclarationLoaded () const |
ErrorPtr | EnsureIsFinalized (Thread *thread) const |
ErrorPtr | EnsureIsAllocateFinalized (Thread *thread) const |
void | RegisterCHACode (const Code &code) |
void | DisableCHAOptimizedCode (const Class &subclass) |
void | DisableAllCHAOptimizedCode () |
void | DisableCHAImplementorUsers () |
WeakArrayPtr | dependent_code () const |
void | set_dependent_code (const WeakArray &array) const |
bool | TraceAllocation (IsolateGroup *isolate_group) const |
void | SetTraceAllocation (bool trace_allocation) const |
void | CopyStaticFieldValues (ProgramReloadContext *reload_context, const Class &old_cls) const |
void | PatchFieldsAndFunctions () const |
void | MigrateImplicitStaticClosures (ProgramReloadContext *context, const Class &new_cls) const |
void | CopyCanonicalConstants (const Class &old_cls) const |
void | CopyDeclarationType (const Class &old_cls) const |
void | CheckReload (const Class &replacement, ProgramReloadContext *context) const |
void | AddInvocationDispatcher (const String &target_name, const Array &args_desc, const Function &dispatcher) const |
void | MarkFieldBoxedDuringReload (ClassTable *class_table, const Field &field) const |
void | SetUserVisibleNameInClassTable () |
void | set_num_type_arguments (intptr_t value) const |
void | set_num_type_arguments_unsafe (intptr_t value) const |
bool | has_pragma () const |
void | set_has_pragma (bool value) const |
void | set_is_isolate_unsendable (bool value) const |
bool | is_isolate_unsendable () const |
void | set_is_isolate_unsendable_due_to_pragma (bool value) const |
bool | is_isolate_unsendable_due_to_pragma () const |
void | set_is_deeply_immutable (bool value) const |
bool | is_deeply_immutable () const |
void | set_is_future_subtype (bool value) const |
bool | is_future_subtype () const |
void | set_can_be_future (bool value) const |
bool | can_be_future () const |
void | set_is_dynamically_extendable (bool value) const |
bool | is_dynamically_extendable () const |
void | set_has_dynamically_extendable_subtypes (bool value) const |
bool | has_dynamically_extendable_subtypes () const |
Public Member Functions inherited from dart::Object | |
virtual | ~Object () |
ObjectPtr | ptr () const |
void | operator= (ObjectPtr value) |
bool | IsCanonical () const |
void | SetCanonical () const |
void | ClearCanonical () const |
bool | IsImmutable () const |
void | SetImmutable () const |
void | ClearImmutable () const |
intptr_t | GetClassId () const |
ClassPtr | clazz () const |
CLASS_LIST_FOR_HANDLES (DEFINE_CLASS_TESTER) | |
bool | IsNull () const |
virtual const char * | ToCString () const |
void | PrintJSON (JSONStream *stream, bool ref=true) const |
virtual void | PrintJSONImpl (JSONStream *stream, bool ref) const |
void | PrintImplementationFields (JSONStream *stream) const |
virtual void | PrintImplementationFieldsImpl (const JSONArray &jsarr_fields) const |
virtual const char * | JSONType () const |
virtual StringPtr | DictionaryName () const |
bool | IsNew () const |
bool | IsOld () const |
bool | InVMIsolateHeap () const |
void | Print () const |
Static Public Member Functions | |
static intptr_t | host_instance_size (ClassPtr clazz) |
static intptr_t | target_instance_size (ClassPtr clazz) |
static bool | is_valid_id (intptr_t value) |
static intptr_t | id_offset () |
static intptr_t | num_type_arguments_offset () |
static uint32_t | Hash (ClassPtr) |
static intptr_t | declaration_type_offset () |
static intptr_t | host_type_arguments_field_offset_in_words_offset () |
static intptr_t | super_type_offset () |
static bool | IsClosureClass (ClassPtr cls) |
static bool | IsInFullSnapshot (ClassPtr cls) |
static intptr_t | GetClassId (ClassPtr cls) |
static bool | IsSubtypeOf (const Class &cls, const TypeArguments &type_arguments, Nullability nullability, const AbstractType &other, Heap::Space space, FunctionTypeMapping *function_type_equivalence=nullptr) |
static intptr_t | InstanceSize () |
static uint16_t | NumNativeFieldsOf (ClassPtr clazz) |
static bool | IsIsolateUnsendable (ClassPtr clazz) |
template<class FakeObject , class TargetFakeObject > | |
static ClassPtr | New (IsolateGroup *isolate_group, bool register_class=true) |
static ClassPtr | New (const Library &lib, const String &name, const Script &script, TokenPosition token_pos, bool register_class=true) |
static ClassPtr | NewNativeWrapper (const Library &library, const String &name, int num_fields) |
static ClassPtr | NewStringClass (intptr_t class_id, IsolateGroup *isolate_group) |
static ClassPtr | NewTypedDataClass (intptr_t class_id, IsolateGroup *isolate_group) |
static ClassPtr | NewTypedDataViewClass (intptr_t class_id, IsolateGroup *isolate_group) |
static ClassPtr | NewUnmodifiableTypedDataViewClass (intptr_t class_id, IsolateGroup *isolate_group) |
static ClassPtr | NewExternalTypedDataClass (intptr_t class_id, IsolateGroup *isolate) |
static ClassPtr | NewPointerClass (intptr_t class_id, IsolateGroup *isolate_group) |
static int32_t | host_instance_size_in_words (const ClassPtr cls) |
static int32_t | target_instance_size_in_words (const ClassPtr cls) |
static int32_t | host_next_field_offset_in_words (const ClassPtr cls) |
static int32_t | target_next_field_offset_in_words (const ClassPtr cls) |
static int32_t | host_type_arguments_field_offset_in_words (const ClassPtr cls) |
static int32_t | target_type_arguments_field_offset_in_words (const ClassPtr cls) |
static intptr_t | UnboxedFieldSizeInBytesByCid (intptr_t cid) |
static bool | IsDeeplyImmutable (ClassPtr clazz) |
Static Public Member Functions inherited from dart::Object | |
static ObjectPtr | RawCast (ObjectPtr obj) |
static constexpr bool | ContainsCompressedPointers () |
static intptr_t | tags_offset () |
static Object & | Handle () |
static Object & | Handle (Zone *zone) |
static Object & | Handle (ObjectPtr ptr) |
static Object & | Handle (Zone *zone, ObjectPtr ptr) |
static Object & | ZoneHandle () |
static Object & | ZoneHandle (Zone *zone) |
static Object & | ZoneHandle (ObjectPtr ptr) |
static Object & | ZoneHandle (Zone *zone, ObjectPtr ptr) |
static Object * | ReadOnlyHandle () |
static ObjectPtr | null () |
static void | set_vm_isolate_snapshot_object_table (const Array &table) |
static ClassPtr | class_class () |
static ClassPtr | dynamic_class () |
static ClassPtr | void_class () |
static ClassPtr | type_parameters_class () |
static ClassPtr | type_arguments_class () |
static ClassPtr | patch_class_class () |
static ClassPtr | function_class () |
static ClassPtr | closure_data_class () |
static ClassPtr | ffi_trampoline_data_class () |
static ClassPtr | field_class () |
static ClassPtr | script_class () |
static ClassPtr | library_class () |
static ClassPtr | namespace_class () |
static ClassPtr | kernel_program_info_class () |
static ClassPtr | code_class () |
static ClassPtr | instructions_class () |
static ClassPtr | instructions_section_class () |
static ClassPtr | instructions_table_class () |
static ClassPtr | object_pool_class () |
static ClassPtr | pc_descriptors_class () |
static ClassPtr | code_source_map_class () |
static ClassPtr | compressed_stackmaps_class () |
static ClassPtr | var_descriptors_class () |
static ClassPtr | exception_handlers_class () |
static ClassPtr | context_class () |
static ClassPtr | context_scope_class () |
static ClassPtr | sentinel_class () |
static ClassPtr | api_error_class () |
static ClassPtr | language_error_class () |
static ClassPtr | unhandled_exception_class () |
static ClassPtr | unwind_error_class () |
static ClassPtr | singletargetcache_class () |
static ClassPtr | unlinkedcall_class () |
static ClassPtr | monomorphicsmiablecall_class () |
static ClassPtr | icdata_class () |
static ClassPtr | megamorphic_cache_class () |
static ClassPtr | subtypetestcache_class () |
static ClassPtr | loadingunit_class () |
static ClassPtr | weak_serialization_reference_class () |
static ClassPtr | weak_array_class () |
static void | InitNullAndBool (IsolateGroup *isolate_group) |
static void | Init (IsolateGroup *isolate_group) |
static void | InitVtables () |
static void | FinishInit (IsolateGroup *isolate_group) |
static void | FinalizeVMIsolate (IsolateGroup *isolate_group) |
static void | FinalizeReadOnlyObject (ObjectPtr object) |
static void | Cleanup () |
static ErrorPtr | Init (IsolateGroup *isolate_group, const uint8_t *kernel_buffer, intptr_t kernel_buffer_size) |
static void | MakeUnusedSpaceTraversable (const Object &obj, intptr_t original_size, intptr_t used_size) |
static intptr_t | InstanceSize () |
template<class FakeObject > | |
static void | VerifyBuiltinVtable (intptr_t cid) |
static void | VerifyBuiltinVtables () |
static bool | ShouldHaveImmutabilityBitSet (classid_t class_id) |
Static Public Attributes | |
static constexpr intptr_t | kNoTypeArguments = -1 |
Static Public Attributes inherited from dart::Object | |
static constexpr intptr_t | kHashBits = 30 |
static const ClassId | kClassId = kObjectCid |
Friends | |
class | AbstractType |
class | Instance |
class | Object |
class | Type |
class | Intrinsifier |
class | ProgramWalker |
class | Precompiler |
class | ClassFinalizer |
Additional Inherited Members | |
Protected Member Functions inherited from dart::Object | |
Object () | |
uword | raw_value () const |
void | setPtr (ObjectPtr value, intptr_t default_cid) |
void | CheckHandle () const |
cpp_vtable | vtable () const |
void | set_vtable (cpp_vtable value) |
bool | Contains (uword addr) const |
template<typename type , std::memory_order order = std::memory_order_relaxed> | |
type | LoadPointer (type const *addr) const |
template<typename type , std::memory_order order = std::memory_order_relaxed> | |
void | StorePointer (type const *addr, type value) const |
template<typename type , typename compressed_type , std::memory_order order = std::memory_order_relaxed> | |
void | StoreCompressedPointer (compressed_type const *addr, type value) const |
template<typename type > | |
void | StorePointerUnaligned (type const *addr, type value, Thread *thread) const |
void | StoreSmi (SmiPtr const *addr, SmiPtr value) const |
template<typename FieldType > | |
void | StoreSimd128 (const FieldType *addr, simd128_value_t value) const |
template<typename FieldType > | |
FieldType | LoadNonPointer (const FieldType *addr) const |
template<typename FieldType , std::memory_order order> | |
FieldType | LoadNonPointer (const FieldType *addr) const |
template<typename FieldType , typename ValueType > | |
void | StoreNonPointer (const FieldType *addr, ValueType value) const |
template<typename FieldType , typename ValueType , std::memory_order order> | |
void | StoreNonPointer (const FieldType *addr, ValueType value) const |
template<typename FieldType > | |
FieldType * | UnsafeMutableNonPointer (const FieldType *addr) const |
CLASS_LIST (STORE_NON_POINTER_ILLEGAL_TYPE) | |
void | UnimplementedMethod () const |
void | AddCommonObjectProperties (JSONObject *jsobj, const char *protocol_type, bool ref) const |
Static Protected Member Functions inherited from dart::Object | |
static DART_NOINLINE Object & | HandleImpl (Zone *zone, ObjectPtr ptr, intptr_t default_cid) |
static DART_NOINLINE Object & | ZoneHandleImpl (Zone *zone, ObjectPtr ptr, intptr_t default_cid) |
static DART_NOINLINE Object * | ReadOnlyHandleImpl (intptr_t cid) |
static ObjectPtr | Allocate (intptr_t cls_id, intptr_t size, Heap::Space space, bool compressed, uword ptr_field_start_offset, uword ptr_field_end_offset) |
template<typename T > | |
static DART_FORCE_INLINE T::ObjectPtrType | Allocate (Heap::Space space) |
template<typename T > | |
static DART_FORCE_INLINE T::ObjectPtrType | Allocate (Heap::Space space, intptr_t elements) |
template<typename T > | |
static DART_FORCE_INLINE T::ObjectPtrType | AllocateVariant (intptr_t class_id, Heap::Space space) |
template<typename T > | |
static DART_FORCE_INLINE T::ObjectPtrType | AllocateVariant (intptr_t class_id, Heap::Space space, intptr_t elements) |
static constexpr intptr_t | RoundedAllocationSize (intptr_t size) |
static ObjectPtr | Clone (const Object &orig, Heap::Space space, bool load_with_relaxed_atomics=false) |
template<typename T > | |
static DART_FORCE_INLINE uword | from_offset () |
template<typename T > | |
static DART_FORCE_INLINE uword | to_offset (intptr_t length=0) |
Protected Attributes inherited from dart::Object | |
ObjectPtr | ptr_ |
Enumerator | |
---|---|
kInvocationDispatcherName | |
kInvocationDispatcherArgsDesc | |
kInvocationDispatcherFunction | |
kInvocationDispatcherEntrySize |
void dart::Class::AddDirectImplementor | ( | const Class & | subclass, |
bool | is_mixin | ||
) | const |
Definition at line 5746 of file object.cc.
void dart::Class::AddDirectSubclass | ( | const Class & | subclass | ) | const |
Definition at line 5778 of file object.cc.
void dart::Class::AddField | ( | const Field & | field | ) | const |
Definition at line 5002 of file object.cc.
void dart::Class::AddFields | ( | const GrowableArray< const Field * > & | fields | ) | const |
Definition at line 5013 of file object.cc.
void dart::Class::AddFunction | ( | const Function & | function | ) | const |
Definition at line 3296 of file object.cc.
void dart::Class::AddInvocationDispatcher | ( | const String & | target_name, |
const Array & | args_desc, | ||
const Function & | dispatcher | ||
) | const |
Definition at line 3831 of file object.cc.
|
inline |
void dart::Class::CheckReload | ( | const Class & | replacement, |
ProgramReloadContext * | context | ||
) | const |
Definition at line 477 of file object_reload.cc.
|
inline |
ArrayPtr dart::Class::constants | ( | ) | const |
void dart::Class::CopyCanonicalConstants | ( | const Class & | old_cls | ) | const |
Definition at line 229 of file object_reload.cc.
void dart::Class::CopyDeclarationType | ( | const Class & | old_cls | ) | const |
Definition at line 247 of file object_reload.cc.
void dart::Class::CopyStaticFieldValues | ( | ProgramReloadContext * | reload_context, |
const Class & | old_cls | ||
) | const |
Definition at line 194 of file object_reload.cc.
|
inline |
|
inlinestatic |
TypePtr dart::Class::DeclarationType | ( | ) | const |
Definition at line 5827 of file object.cc.
TypeArgumentsPtr dart::Class::DefaultTypeArguments | ( | Zone * | zone | ) | const |
WeakArrayPtr dart::Class::dependent_code | ( | ) | const |
Definition at line 4420 of file object.cc.
|
inlinevirtual |
|
inline |
Definition at line 1520 of file object.h.
|
inline |
|
inline |
Definition at line 1537 of file object.h.
|
inline |
void dart::Class::DisableAllCHAOptimizedCode | ( | ) |
void dart::Class::DisableAllocationStub | ( | ) | const |
Definition at line 5879 of file object.cc.
|
inline |
Definition at line 1917 of file object.h.
void dart::Class::DisableCHAOptimizedCode | ( | const Class & | subclass | ) |
Definition at line 4402 of file object.cc.
|
inline |
void dart::Class::EnsureDeclarationLoaded | ( | ) | const |
Definition at line 4913 of file object.cc.
ErrorPtr dart::Class::EnsureIsAllocateFinalized | ( | Thread * | thread | ) | const |
Definition at line 4954 of file object.cc.
ErrorPtr dart::Class::EnsureIsFinalized | ( | Thread * | thread | ) | const |
Definition at line 4924 of file object.cc.
ObjectPtr dart::Class::EvaluateCompiledExpression | ( | const ExternalTypedData & | kernel_buffer, |
const Array & | type_definitions, | ||
const Array & | param_values, | ||
const TypeArguments & | type_param_values | ||
) | const |
Definition at line 4821 of file object.cc.
FieldPtr dart::Class::FieldFromIndex | ( | intptr_t | idx | ) | const |
|
inline |
void dart::Class::Finalize | ( | ) | const |
Definition at line 4307 of file object.cc.
intptr_t dart::Class::FindFieldIndex | ( | const Field & | needle | ) | const |
Definition at line 5030 of file object.cc.
intptr_t dart::Class::FindFunctionIndex | ( | const Function & | needle | ) | const |
Definition at line 3321 of file object.cc.
intptr_t dart::Class::FindImplicitClosureFunctionIndex | ( | const Function & | needle | ) | const |
Definition at line 3364 of file object.cc.
|
inline |
Definition at line 1468 of file object.h.
bool dart::Class::FindInstantiationOf | ( | Zone * | zone, |
const Class & | cls, | ||
GrowableArray< const Type * > * | path, | ||
bool | consider_only_super_classes = false |
||
) | const |
Definition at line 12675 of file object.cc.
|
inline |
bool dart::Class::FindInstantiationOf | ( | Zone * | zone, |
const Type & | type, | ||
GrowableArray< const Type * > * | path, | ||
bool | consider_only_super_classes = false |
||
) | const |
intptr_t dart::Class::FindInvocationDispatcherFunctionIndex | ( | const Function & | needle | ) | const |
Definition at line 3392 of file object.cc.
FunctionPtr dart::Class::FunctionFromIndex | ( | intptr_t | idx | ) | const |
Definition at line 3343 of file object.cc.
|
inline |
Definition at line 1646 of file object.h.
|
inlinestatic |
TypeArgumentsPtr dart::Class::GetDeclarationInstanceTypeArguments | ( | ) | const |
Definition at line 3476 of file object.cc.
TypeArgumentsPtr dart::Class::GetInstanceTypeArguments | ( | Thread * | thread, |
const TypeArguments & | type_arguments, | ||
bool | canonicalize = true |
||
) | const |
Definition at line 3524 of file object.cc.
Definition at line 12728 of file object.cc.
Definition at line 12766 of file object.cc.
FunctionPtr dart::Class::GetInvocationDispatcher | ( | const String & | target_name, |
const Array & | args_desc, | ||
UntaggedFunction::Kind | kind, | ||
bool | create_if_absent | ||
) | const |
Definition at line 3847 of file object.cc.
FunctionPtr dart::Class::GetRecordFieldGetter | ( | const String & | getter_name | ) | const |
Definition at line 4078 of file object.cc.
|
inline |
bool dart::Class::HasCompressedPointers | ( | ) | const |
Definition at line 2946 of file object.cc.
|
static |
bool dart::Class::HasInstanceFields | ( | ) | const |
Definition at line 3211 of file object.cc.
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inlinestatic |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inlinestatic |
|
inline |
FunctionPtr dart::Class::ImplicitClosureFunctionFromIndex | ( | intptr_t | idx | ) | const |
Definition at line 3354 of file object.cc.
bool dart::Class::InjectCIDFields | ( | ) | const |
Definition at line 5059 of file object.cc.
Definition at line 6485 of file object.cc.
|
inlinestatic |
Definition at line 1685 of file object.h.
|
inline |
FunctionPtr dart::Class::InvocationDispatcherFunctionFromIndex | ( | intptr_t | idx | ) | const |
Definition at line 3419 of file object.cc.
ObjectPtr dart::Class::Invoke | ( | const String & | selector, |
const Array & | arguments, | ||
const Array & | argument_names, | ||
bool | respect_reflectable = true , |
||
bool | check_is_entrypoint = false |
||
) | const |
Definition at line 4684 of file object.cc.
ObjectPtr dart::Class::InvokeGetter | ( | const String & | selector, |
bool | throw_nsm_if_absent, | ||
bool | respect_reflectable = true , |
||
bool | check_is_entrypoint = false |
||
) | const |
Definition at line 4517 of file object.cc.
ObjectPtr dart::Class::InvokeSetter | ( | const String & | selector, |
const Instance & | argument, | ||
bool | respect_reflectable = true , |
||
bool | check_is_entrypoint = false |
||
) | const |
Definition at line 4577 of file object.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inlinestatic |
bool dart::Class::IsDartFunctionClass | ( | ) | const |
|
inlinestatic |
bool dart::Class::IsFutureClass | ( | ) | const |
|
inline |
|
inline |
bool dart::Class::IsInFullSnapshot | ( | ) | const |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
static |
Definition at line 5920 of file object.cc.
bool dart::Class::IsTopLevel | ( | ) | const |
|
inline |
|
inline |
KernelProgramInfoPtr dart::Class::KernelProgramInfo | ( | ) | const |
|
inline |
FunctionPtr dart::Class::LookupConstructor | ( | const String & | name | ) | const |
Definition at line 6147 of file object.cc.
FunctionPtr dart::Class::LookupConstructorAllowPrivate | ( | const String & | name | ) | const |
Definition at line 6153 of file object.cc.
FunctionPtr dart::Class::LookupDynamicFunctionAllowPrivate | ( | const String & | name | ) | const |
FunctionPtr dart::Class::LookupDynamicFunctionUnsafe | ( | const String & | name | ) | const |
FunctionPtr dart::Class::LookupFactory | ( | const String & | name | ) | const |
FunctionPtr dart::Class::LookupFactoryAllowPrivate | ( | const String & | name | ) | const |
FieldPtr dart::Class::LookupField | ( | const String & | name | ) | const |
FieldPtr dart::Class::LookupFieldAllowPrivate | ( | const String & | name, |
bool | instance_only = false |
||
) | const |
Definition at line 6403 of file object.cc.
FunctionPtr dart::Class::LookupFunctionAllowPrivate | ( | const String & | name | ) | const |
FunctionPtr dart::Class::LookupFunctionReadLocked | ( | const String & | name | ) | const |
FunctionPtr dart::Class::LookupGetterFunction | ( | const String & | name | ) | const |
FieldPtr dart::Class::LookupInstanceField | ( | const String & | name | ) | const |
FieldPtr dart::Class::LookupInstanceFieldAllowPrivate | ( | const String & | name | ) | const |
Definition at line 6434 of file object.cc.
FunctionPtr dart::Class::LookupSetterFunction | ( | const String & | name | ) | const |
FieldPtr dart::Class::LookupStaticField | ( | const String & | name | ) | const |
FieldPtr dart::Class::LookupStaticFieldAllowPrivate | ( | const String & | name | ) | const |
FunctionPtr dart::Class::LookupStaticFunction | ( | const String & | name | ) | const |
FunctionPtr dart::Class::LookupStaticFunctionAllowPrivate | ( | const String & | name | ) | const |
void dart::Class::MarkFieldBoxedDuringReload | ( | ClassTable * | class_table, |
const Field & | field | ||
) | const |
Definition at line 605 of file object_reload.cc.
void dart::Class::MigrateImplicitStaticClosures | ( | ProgramReloadContext * | context, |
const Class & | new_cls | ||
) | const |
Definition at line 319 of file object_reload.cc.
ClassPtr dart::Class::Mixin | ( | ) | const |
Definition at line 3020 of file object.cc.
StringPtr dart::Class::Name | ( | ) | const |
const char * dart::Class::NameCString | ( | NameVisibility | name_visibility | ) | const |
Definition at line 3006 of file object.cc.
|
static |
|
static |
Definition at line 3053 of file object.cc.
|
static |
Definition at line 5318 of file object.cc.
|
static |
Definition at line 5189 of file object.cc.
|
static |
Definition at line 5338 of file object.cc.
|
static |
Definition at line 5232 of file object.cc.
|
static |
Definition at line 5259 of file object.cc.
|
static |
Definition at line 5278 of file object.cc.
|
static |
Definition at line 5298 of file object.cc.
bool dart::Class::NoteImplementor | ( | const Class & | implementor | ) | const |
Definition at line 5580 of file object.cc.
|
inline |
|
inlinestatic |
|
inlinestatic |
intptr_t dart::Class::NumTypeArguments | ( | ) | const |
Definition at line 3640 of file object.cc.
|
inline |
intptr_t dart::Class::NumTypeParameters | ( | Thread * | thread | ) | const |
Definition at line 3555 of file object.cc.
ArrayPtr dart::Class::OffsetToFieldMap | ( | ClassTable * | class_table = nullptr | ) | const |
Definition at line 3183 of file object.cc.
void dart::Class::PatchFieldsAndFunctions | ( | ) | const |
Definition at line 270 of file object_reload.cc.
TypePtr dart::Class::RareType | ( | ) | const |
Definition at line 3036 of file object.cc.
void dart::Class::RegisterCHACode | ( | const Code & | code | ) |
Definition at line 4390 of file object.cc.
|
inline |
StringPtr dart::Class::ScrubbedName | ( | ) | const |
const char * dart::Class::ScrubbedNameCString | ( | ) | const |
Definition at line 2985 of file object.cc.
void dart::Class::set_allocation_stub | ( | const Code & | value | ) | const |
void dart::Class::set_can_be_future | ( | bool | value | ) | const |
void dart::Class::set_constants | ( | const Array & | value | ) | const |
void dart::Class::set_dependent_code | ( | const WeakArray & | array | ) | const |
Definition at line 4426 of file object.cc.
void dart::Class::set_direct_implementors | ( | const GrowableObjectArray & | implementors | ) | const |
void dart::Class::set_direct_subclasses | ( | const GrowableObjectArray & | subclasses | ) | const |
void dart::Class::set_end_token_pos | ( | TokenPosition | value | ) | const |
Definition at line 5570 of file object.cc.
void dart::Class::set_has_dynamically_extendable_subtypes | ( | bool | value | ) | const |
void dart::Class::set_has_pragma | ( | bool | value | ) | const |
|
inline |
|
inline |
Definition at line 1167 of file object.h.
|
inline |
Definition at line 1174 of file object.h.
void dart::Class::set_interfaces | ( | const Array & | value | ) | const |
void dart::Class::set_is_abstract | ( | ) | const |
void dart::Class::set_is_allocate_finalized | ( | ) | const |
Definition at line 5725 of file object.cc.
void dart::Class::set_is_allocated | ( | bool | value | ) | const |
void dart::Class::set_is_allocated_unsafe | ( | bool | value | ) | const |
void dart::Class::set_is_base_class | ( | ) | const |
void dart::Class::set_is_const | ( | ) | const |
void dart::Class::set_is_declaration_loaded | ( | ) | const |
Definition at line 5627 of file object.cc.
void dart::Class::set_is_declaration_loaded_unsafe | ( | ) | const |
Definition at line 5632 of file object.cc.
void dart::Class::set_is_deeply_immutable | ( | bool | value | ) | const |
void dart::Class::set_is_dynamically_extendable | ( | bool | value | ) | const |
void dart::Class::set_is_enum_class | ( | ) | const |
void dart::Class::set_is_fields_marked_nullable | ( | ) | const |
void dart::Class::set_is_final | ( | ) | const |
void dart::Class::set_is_finalized | ( | ) | const |
void dart::Class::set_is_finalized_unsafe | ( | ) | const |
Definition at line 5720 of file object.cc.
void dart::Class::set_is_future_subtype | ( | bool | value | ) | const |
void dart::Class::set_is_implemented | ( | ) | const |
Definition at line 5613 of file object.cc.
void dart::Class::set_is_implemented_unsafe | ( | ) | const |
void dart::Class::set_is_interface_class | ( | ) | const |
void dart::Class::set_is_isolate_unsendable | ( | bool | value | ) | const |
void dart::Class::set_is_isolate_unsendable_due_to_pragma | ( | bool | value | ) | const |
void dart::Class::set_is_loaded | ( | bool | value | ) | const |
void dart::Class::set_is_mixin_class | ( | ) | const |
void dart::Class::set_is_prefinalized | ( | ) | const |
Definition at line 5732 of file object.cc.
void dart::Class::set_is_sealed | ( | ) | const |
void dart::Class::set_is_synthesized_class | ( | ) | const |
Definition at line 5646 of file object.cc.
void dart::Class::set_is_synthesized_class_unsafe | ( | ) | const |
void dart::Class::set_is_transformed_mixin_application | ( | ) | const |
void dart::Class::set_is_type_finalized | ( | ) | const |
Definition at line 5638 of file object.cc.
|
inline |
void dart::Class::set_library | ( | const Library & | value | ) | const |
|
inline |
Definition at line 1201 of file object.h.
|
inline |
Definition at line 1207 of file object.h.
|
inline |
void dart::Class::set_num_type_arguments | ( | intptr_t | value | ) | const |
Definition at line 3109 of file object.cc.
void dart::Class::set_num_type_arguments_unsafe | ( | intptr_t | value | ) | const |
void dart::Class::set_script | ( | const Script & | value | ) | const |
void dart::Class::set_super_type | ( | const Type & | value | ) | const |
void dart::Class::set_token_pos | ( | TokenPosition | value | ) | const |
|
inline |
Definition at line 1397 of file object.h.
|
inline |
Definition at line 1414 of file object.h.
void dart::Class::set_type_parameters | ( | const TypeParameters & | value | ) | const |
void dart::Class::SetFields | ( | const Array & | value | ) | const |
Definition at line 4984 of file object.cc.
void dart::Class::SetFunctions | ( | const Array & | value | ) | const |
Definition at line 3264 of file object.cc.
void dart::Class::SetTraceAllocation | ( | bool | trace_allocation | ) | const |
Definition at line 4443 of file object.cc.
void dart::Class::SetUserVisibleNameInClassTable | ( | ) |
Definition at line 5383 of file object.cc.
int32_t dart::Class::SourceFingerprint | ( | ) | const |
Definition at line 5604 of file object.cc.
|
inline |
|
inlinestatic |
ClassPtr dart::Class::SuperClass | ( | ClassTable * | class_table = nullptr | ) | const |
Definition at line 3665 of file object.cc.
|
inline |
|
inlinestatic |
|
inlinestatic |
Definition at line 1947 of file object.h.
|
inline |
|
inlinestatic |
Definition at line 1959 of file object.h.
|
inline |
Definition at line 1384 of file object.h.
|
inlinestatic |
Definition at line 1971 of file object.h.
|
inline |
bool dart::Class::TraceAllocation | ( | IsolateGroup * | isolate_group | ) | const |
|
inline |
TypeParameterPtr dart::Class::TypeParameterAt | ( | intptr_t | index, |
Nullability | nullability = Nullability::kNonNullable |
||
) | const |
Definition at line 3689 of file object.cc.
|
static |
Definition at line 3702 of file object.cc.
StringPtr dart::Class::UserVisibleName | ( | ) | const |
const char * dart::Class::UserVisibleNameCString | ( | ) | const |
ErrorPtr dart::Class::VerifyEntryPoint | ( | ) | const |
Definition at line 27370 of file object.cc.
|
friend |
|
friend |
|
friend |
|
friend |
|
staticconstexpr |