Class
Types
Type #Class
|
Name |
Description |
|
Creates a new class. |
|
|
Instantiates this class. |
|
|
Compares each field of this object the each field of another, and returns whether the fields are identical. |
|
|
Creates a subclass of this class. |
|
|
Returns wether this object is a type or subtype of a class. |
|
|
Instanties this class. |
|
|
Throws an error with the message that an abstract function was invoked. |
#Class.createInstance
Instantiates this class.
Do not override this function (see @{#Class.new}).
Parameters
- #table superObject - (Optional) Parent object which the new instance will inherit attributes from
Return
- #table
#Class.equals
Compares each field of this object the each field of another, and returns whether the fields are identical.
Return
- #boolean
#Class.new
Instanties this class.
Override this function to create a custom constructor.
Return
- #table
#Class.throwAbstractFunctionError
Throws an error with the message that an abstract function was invoked.
The name of the function invoking this function will be included in the message.