classData
export type classData = {
constructor: (self: any, ...any) -> ()?,
destructor: (self: any) -> ()?,
Public: {[any]: any}?,
Private: {[any]: any}?,
Protected: {[any]: any}?,
Friend: {any}?
}
The classData
table that is given to the class()
function that contains data about the desired class
.
Properties
constructor
The constructor
function that will be called when an object
gets created.
destructor
The destructor
function that will be called when an object
gets destroyed.
Public
The access specifier that contains properties that can be globally accessable.
Private
The access specifier that contains properties that can only be accessed inside the class
.
Protected
The access specifier that contains properties that can only be accessed inside the class
and inherited classes.
Friend
The access specifier that contains functions and classes that can access the class
's Private
properties.