Class
Object → Class
A general structure for every class that created with class library.
Fields
| Name | Type | Description |
|---|---|---|
__base | Object | The base of the class. READ ONLY |
__parent? | Class | The parent of the class. READ ONLY |
__new? | Class.__new | A function that will be called instead of the default object creation, if it returns a non-nil value, it will be used as the result and __init will not be called. |
__inherited? | Class.__inherited | The function that will be called when the class or any of its children is inherited, it is not copied to children. |