generator Struct Reference

Generator object implementation. More...

Inheritance diagram for generator:

Data Fields

KrkInstance inst
 
KrkClosureclosure
 
KrkValueargs
 
size_t argCount
 
uint8_t * ip
 
int running
 
int started
 
KrkValue result
 
int type
 
KrkThreadState fakethread
 
KrkUpvaluecapturedUpvalues
 
- Data Fields inherited from KrkInstance
KrkClass_class
 Type.
 
KrkTable fields
 Attributes table.
 
- Data Fields inherited from KrkObj
uint16_t type
 Tag indicating core type.
 
uint16_t flags
 General object flags, mostly related to garbage collection.
 
uint32_t hash
 Cached hash value for table keys.
 
struct KrkObjnext
 Invasive linked list of all objects in the VM.
 

Additional Inherited Members

- Public Member Functions inherited from KrkInstance
KrkInstancekrk_newInstance (KrkClass *_class)
 Create a new instance of the given class. More...
 
- Protected Attributes inherited from KrkInstance
KrkObj obj
 Base.
 

Detailed Description

Generator object implementation.

Definition at line 20 of file obj_gen.c.


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