Flutter Engine
The Flutter Engine
Public Member Functions | Protected Attributes | List of all members
dart::ClassReasonForCancelling Class Reference

#include <isolate_reload.h>

Inheritance diagram for dart::ClassReasonForCancelling:
dart::ReasonForCancelling dart::ZoneAllocated dart::ConstClassFieldRemoved dart::ConstToNonConstClass dart::DeeplyImmutableChange dart::EnsureFinalizedError dart::EnumClassConflict dart::InstanceSizeConflict dart::NativeFieldsConflict dart::PreFinalizedConflict dart::TypeParametersChanged

Public Member Functions

 ClassReasonForCancelling (Zone *zone, const Class &from, const Class &to)
 
void AppendTo (JSONArray *array)
 
- Public Member Functions inherited from dart::ReasonForCancelling
 ReasonForCancelling (Zone *zone)
 
virtual ~ReasonForCancelling ()
 
void Report (IsolateGroupReloadContext *context)
 
virtual ErrorPtr ToError ()
 
virtual StringPtr ToString ()
 
virtual void AppendTo (JSONArray *array)
 
- 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)
 

Protected Attributes

const Classfrom_
 
const Classto_
 

Detailed Description

Definition at line 131 of file isolate_reload.h.

Constructor & Destructor Documentation

◆ ClassReasonForCancelling()

dart::ClassReasonForCancelling::ClassReasonForCancelling ( Zone zone,
const Class from,
const Class to 
)

Definition at line 439 of file isolate_reload.cc.

442 : ReasonForCancelling(zone),
443 from_(Class::ZoneHandle(zone, from.ptr())),
444 to_(Class::ZoneHandle(zone, to.ptr())) {}
static Object & ZoneHandle()
Definition: object.h:419

Member Function Documentation

◆ AppendTo()

void dart::ClassReasonForCancelling::AppendTo ( JSONArray array)
virtual

Reimplemented from dart::ReasonForCancelling.

Reimplemented in dart::TypeParametersChanged.

Definition at line 446 of file isolate_reload.cc.

446 {
447 JSONObject jsobj(array);
448 jsobj.AddProperty("type", "ReasonForCancelling");
449 jsobj.AddProperty("class", from_);
450 const String& message = String::Handle(ToString());
451 jsobj.AddProperty("message", message.ToCString());
452}
static Object & Handle()
Definition: object.h:407
virtual StringPtr ToString()
Win32Message message

Member Data Documentation

◆ from_

const Class& dart::ClassReasonForCancelling::from_
protected

Definition at line 137 of file isolate_reload.h.

◆ to_

const Class& dart::ClassReasonForCancelling::to_
protected

Definition at line 138 of file isolate_reload.h.


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