BaseClasses Struct Reference
Table of classes for built-in object types. More...
#include <vm.h>
Detailed Description
Table of classes for built-in object types.
For use by C modules and within the VM, an instance of this struct is attached to the global VM state. At VM initialization, each built-in class is attached to this table, and the class values stored here are used for integrated type checking with krk_isInstanceOf.
- Note
- As this and other tables are used directly by embedders, do not reorder the layout of the individual class pointers, even if it looks nicer. The ordering here is part of our library ABI.
Field Documentation
◆ boolClass
◆ bytearrayClass
◆ bytesClass
KrkClass* BaseClasses::bytesClass |
◆ bytesiteratorClass
KrkClass* BaseClasses::bytesiteratorClass |
◆ CellClass
◆ codeobjectClass
KrkClass* BaseClasses::codeobjectClass |
Static compiled bytecode container (KrkCodeObject)
◆ CompilerStateClass
KrkClass* BaseClasses::CompilerStateClass |
◆ dictClass
KrkClass* BaseClasses::dictClass |
◆ dictitemsClass
KrkClass* BaseClasses::dictitemsClass |
◆ dictkeysClass
KrkClass* BaseClasses::dictkeysClass |
◆ dictvaluesClass
KrkClass* BaseClasses::dictvaluesClass |
◆ ellipsisClass
KrkClass* BaseClasses::ellipsisClass |
◆ enumerateClass
KrkClass* BaseClasses::enumerateClass |
◆ filterClass
KrkClass* BaseClasses::filterClass |
◆ floatClass
KrkClass* BaseClasses::floatClass |
◆ functionClass
KrkClass* BaseClasses::functionClass |
Represents a function object (KrkClosure) or native bind (KrkNative)
◆ generatorClass
◆ HelperClass
KrkClass* BaseClasses::HelperClass |
◆ intClass
◆ LicenseReaderClass
KrkClass* BaseClasses::LicenseReaderClass |
◆ listClass
KrkClass* BaseClasses::listClass |
◆ listiteratorClass
◆ LockClass
◆ longClass
◆ mapClass
KrkClass* BaseClasses::mapClass |
◆ methodClass
KrkClass* BaseClasses::methodClass |
Represents a bound method (KrkBoundMethod)
◆ moduleClass
KrkClass* BaseClasses::moduleClass |
◆ noneTypeClass
KrkClass* BaseClasses::noneTypeClass |
◆ notImplClass
◆ objectClass
KrkClass* BaseClasses::objectClass |
◆ propertyClass
KrkClass* BaseClasses::propertyClass |
◆ rangeClass
KrkClass* BaseClasses::rangeClass |
◆ rangeiteratorClass
KrkClass* BaseClasses::rangeiteratorClass |
◆ setClass
◆ setiteratorClass
KrkClass* BaseClasses::setiteratorClass |
◆ sliceClass
◆ strClass
◆ striteratorClass
KrkClass* BaseClasses::striteratorClass |
◆ ThreadClass
◆ tupleClass
KrkClass* BaseClasses::tupleClass |
◆ tupleiteratorClass
KrkClass* BaseClasses::tupleiteratorClass |
◆ typeClass
KrkClass* BaseClasses::typeClass |
◆ zipClass
KrkClass* BaseClasses::zipClass |
The documentation for this struct was generated from the following file:
- src/kuroko/vm.h