API glossary
On this page
Kinds, modifiers and package labels in the Lua API reference. Select an annotation or full API badge to open its definition here.
The signature and entry documentation describe the API’s behavior, including its calling conventions, storage and runtime checks.
Symbol kinds
Kinds identify declarations in the Lua API reference.
module
A Lua module loaded through require, commonly returning a table of exported values.
References: Lua modules .
class
A Lua tooling annotation describing a table or other value as a named object shape.
Lua does not have a class declaration keyword; the implementation supplies its runtime behavior.
References: Lua class annotations .
function
A Lua callable value with parameters and potentially multiple results.
References: Lua function definitions .
method
A Lua function called with colon syntax, which passes the receiver as the first argument self.
References: Lua method calls .
attribute
A Lua table field or annotated member. Reading a missing field may invoke a metatable lookup.
References: Lua table access .
typealias
A Lua tooling alias describing a type expression in comments, without declaring a runtime type.
References: Lua type aliases .
Modifiers
Modifiers add information about calling, implementing, or accessing a declaration. Their precise effect follows the language and the signature.
overload
Alternative Lua function signatures supplied by documentation annotations, rather than runtime overload selection.
References: Lua overload annotations .
inherited
A Lua member documented on an annotated parent type. Follow its declaring type for the original contract.
References: Lua class inheritance .
Package context
Package labels identify where an API is supplied.
package
The Lua library distribution supplying these modules. A package name and the string passed to require need not match.
References: Lua packages and require .