Module std.prototype

Module table.

Lazy loading of submodules, and metadata for the Prototype package.

Tables

prototype Module table.

Metamethods

__index (name) Lazy loading of prototype modules.


Tables

prototype
Module table.

Fields:

  • version Release version string

Metamethods

__index (name)
Lazy loading of prototype modules. Don't load everything on initial startup, wait until first attempt to access a submodule, and then load it on demand.

Parameters:

Returns:

    table or nil

    the submodule that was loaded to satisfy the missing

    `name`, otherwise `nil` if nothing was found
    

Usage:

    local prototype = require 'prototype'
    local Object = prototype.object.prototype
generated by LDoc 1.5.0 Last updated 2026-10-20 12:00:59