Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::LanguageErrorDeserializationCluster Class Reference
Inheritance diagram for dart::LanguageErrorDeserializationCluster:
dart::DeserializationCluster dart::ZoneAllocated

Public Member Functions

 LanguageErrorDeserializationCluster ()
 
 ~LanguageErrorDeserializationCluster ()
 
void ReadAlloc (Deserializer *d) override
 
void ReadFill (Deserializer *d_) override
 
- Public Member Functions inherited from dart::DeserializationCluster
 DeserializationCluster (const char *name, bool is_canonical=false, bool is_immutable=false)
 
virtual ~DeserializationCluster ()
 
virtual void ReadAlloc (Deserializer *deserializer)=0
 
virtual void ReadFill (Deserializer *deserializer)=0
 
virtual void PostLoad (Deserializer *deserializer, const Array &refs)
 
const char * name () const
 
bool is_canonical () const
 
- Public Member Functions inherited from dart::ZoneAllocated
 ZoneAllocated ()
 
void * operator new (size_t size)
 
void * operator new (size_t size, Zone *zone)
 
void operator delete (void *pointer)
 

Additional Inherited Members

- Protected Member Functions inherited from dart::DeserializationCluster
void ReadAllocFixedSize (Deserializer *deserializer, intptr_t instance_size)
 
- Protected Attributes inherited from dart::DeserializationCluster
const char *const name_
 
const bool is_canonical_
 
const bool is_immutable_
 
intptr_t start_index_
 
intptr_t stop_index_
 

Detailed Description

Definition at line 4362 of file app_snapshot.cc.

Constructor & Destructor Documentation

◆ LanguageErrorDeserializationCluster()

dart::LanguageErrorDeserializationCluster::LanguageErrorDeserializationCluster ( )
inline

Definition at line 4364 of file app_snapshot.cc.

4365 : DeserializationCluster("LanguageError") {}
DeserializationCluster(const char *name, bool is_canonical=false, bool is_immutable=false)

◆ ~LanguageErrorDeserializationCluster()

dart::LanguageErrorDeserializationCluster::~LanguageErrorDeserializationCluster ( )
inline

Definition at line 4366 of file app_snapshot.cc.

4366{}

Member Function Documentation

◆ ReadAlloc()

void dart::LanguageErrorDeserializationCluster::ReadAlloc ( Deserializer d)
inlineoverridevirtual

Implements dart::DeserializationCluster.

Definition at line 4368 of file app_snapshot.cc.

4368 {
4370 }
void ReadAllocFixedSize(Deserializer *deserializer, intptr_t instance_size)
static intptr_t InstanceSize()
Definition: object.h:8087
VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE auto & d
Definition: main.cc:19

◆ ReadFill()

void dart::LanguageErrorDeserializationCluster::ReadFill ( Deserializer d_)
inlineoverridevirtual

Implements dart::DeserializationCluster.

Definition at line 4372 of file app_snapshot.cc.

4372 {
4373 Deserializer::Local d(d_);
4374
4375 ASSERT(!is_canonical()); // Never canonical.
4376 for (intptr_t id = start_index_, n = stop_index_; id < n; id++) {
4377 LanguageErrorPtr error = static_cast<LanguageErrorPtr>(d.Ref(id));
4378 Deserializer::InitializeHeader(error, kLanguageErrorCid,
4380 d.ReadFromTo(error);
4381 error->untag()->token_pos_ = d.ReadTokenPosition();
4382 error->untag()->report_after_token_ = d.Read<bool>();
4383 error->untag()->kind_ = d.Read<int8_t>();
4384 }
4385 }
static void InitializeHeader(ObjectPtr raw, intptr_t cid, intptr_t size, bool is_canonical=false)
#define ASSERT(E)
const uint8_t uint32_t uint32_t GError ** error

The documentation for this class was generated from the following file: