# API glossary

Source: https://libtmux.org/en/lua/latest/reference/glossary/

> Kinds, modifiers and package labels in the Lua API reference.

## 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](https://www.lua.org/manual/5.4/manual.html#pdf-require).

### 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](https://luals.github.io/wiki/annotations/#class).

### function

A Lua callable value with parameters and potentially multiple results.

References: [Lua function definitions](https://www.lua.org/manual/5.4/manual.html#3.4.11).

### method

A Lua function called with colon syntax, which passes the receiver as the first argument self.

References: [Lua method calls](https://www.lua.org/manual/5.4/manual.html#3.4.10).

### attribute

A Lua table field or annotated member. Reading a missing field may invoke a metatable lookup.

References: [Lua table access](https://www.lua.org/manual/5.4/manual.html#2.4).

### typealias

A Lua tooling alias describing a type expression in comments, without declaring a runtime type.

References: [Lua type aliases](https://luals.github.io/wiki/annotations/#alias).

## 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](https://luals.github.io/wiki/annotations/#overload).

### inherited

A Lua member documented on an annotated parent type. Follow its declaring type for the original contract.

References: [Lua class inheritance](https://luals.github.io/wiki/annotations/#class).

## 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](https://www.lua.org/manual/5.4/manual.html#6.3).
