Module classutil

Utility for creating class-like objects with separate sets of static and instance functions.

Functions

makeClass() Create a new class type.
deriveClass(parent) Create a new class type derived from another type.


Functions

makeClass()
Create a new class type.

Returns:

  1. A table for static class methods.
  2. A table for class instance methods.
  3. The metatable for class instances.
deriveClass(parent)
Create a new class type derived from another type.

Parameters:

  • parent The static method table for the parent type.

Returns:

  1. A table for static class methods.
  2. A table for class instance methods.
  3. The metatable for class instances.
generated by LDoc 1.5.0