Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::TypeParametersChanged Class Reference
Inheritance diagram for dart::TypeParametersChanged:
dart::ClassReasonForCancelling dart::ReasonForCancelling dart::ZoneAllocated

Public Member Functions

 TypeParametersChanged (Zone *zone, const Class &from, const Class &to)
 
StringPtr ToString ()
 
void AppendTo (JSONArray *array)
 
- Public Member Functions inherited from dart::ClassReasonForCancelling
 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)
 

Additional Inherited Members

- Protected Attributes inherited from dart::ClassReasonForCancelling
const Classfrom_
 
const Classto_
 

Detailed Description

Definition at line 426 of file object_reload.cc.

Constructor & Destructor Documentation

◆ TypeParametersChanged()

dart::TypeParametersChanged::TypeParametersChanged ( Zone zone,
const Class from,
const Class to 
)
inline

Definition at line 428 of file object_reload.cc.

429 : ClassReasonForCancelling(zone, from, to) {}
ClassReasonForCancelling(Zone *zone, const Class &from, const Class &to)

Member Function Documentation

◆ AppendTo()

void dart::TypeParametersChanged::AppendTo ( JSONArray array)
inlinevirtual

Reimplemented from dart::ClassReasonForCancelling.

Definition at line 436 of file object_reload.cc.

436 {
437 JSONObject jsobj(array);
438 jsobj.AddProperty("type", "ReasonForCancellingReload");
439 jsobj.AddProperty("kind", "TypeParametersChanged");
440 jsobj.AddProperty("class", to_);
441 jsobj.AddProperty("message",
442 "Limitation: changing type parameters "
443 "does not work with hot reload.");
444 }

◆ ToString()

StringPtr dart::TypeParametersChanged::ToString ( )
inlinevirtual

Reimplemented from dart::ReasonForCancelling.

Definition at line 431 of file object_reload.cc.

431 {
433 "Limitation: type parameters have changed for %s", from_.ToCString());
434 }
virtual const char * ToCString() const
Definition: object.h:366
static StringPtr NewFormatted(const char *format,...) PRINTF_ATTRIBUTE(1
Definition: object.cc:24004

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