# API glossary

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

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

## Symbol kinds

Kinds identify declarations in the Kotlin API reference.

### module

A Kotlin object or companion object that groups declarations under one instance.

The module badge describes this declaration scope, not a separately installed Gradle module.

References: [Kotlin object declarations](https://kotlinlang.org/docs/object-declarations.html).

### class

A Kotlin class declaring constructors, properties and member functions.

Classes are final unless the declaration permits inheritance. Data classes add generated operations described by their declaration.

References: [Kotlin classes](https://kotlinlang.org/docs/classes.html).

### function

A Kotlin function declared with fun at top level or inside another scope.

Extension functions are resolved from their declared receiver and scope; they do not add members to the receiver class.

References: [Kotlin functions](https://kotlinlang.org/docs/functions.html).

### method

A Kotlin member function called on its receiver.

Read the signature for receiver, parameters, result and any suspend requirement.

References: [Kotlin member functions](https://kotlinlang.org/docs/functions.html#function-scope).

### property

A Kotlin val or var accessed through a getter and, for var, a setter.

Accessors may execute code. A val has no setter but may return a mutable object.

References: [Kotlin properties](https://kotlinlang.org/docs/properties.html).

## Modifiers

Modifiers add information about calling, implementing, or accessing a declaration. Their precise effect follows the language and the signature.

### async

A Kotlin suspend function that can suspend inside a coroutine.

Calling a suspending function does not itself launch a coroutine or guarantee execution on another thread.

References: [Kotlin suspending functions](https://kotlinlang.org/docs/coroutines-basics.html#suspending-functions).

### overload

Kotlin functions sharing a name with distinct accepted signatures.

Argument types, receivers and available overloads determine which declaration a call resolves to.

References: [Kotlin functions](https://kotlinlang.org/docs/functions.html).

## Package context

Package labels identify where an API is supplied.

### package

The library dependency supplying this Kotlin API.

A Kotlin package organizes declarations; its name need not equal the Gradle artifact name.

References: [Kotlin packages and imports](https://kotlinlang.org/docs/packages.html).
