Package-level declarations

Annotations for exporting symbols of your declarations.

Types

Link copied to clipboard

Allows children of this declaration to be exported. Does not export the declaration itself.

Link copied to clipboard
annotation class ExportAnnotation

Implies ExportSymbol, and also exports the annotation's properties in a way that allows annotations to be easily read or created by users of the symbols (e.g. to/from FirAnnotation or IrAnnotation).

Link copied to clipboard
annotation class ExportReceivers(val dispatch: Boolean = true, val extension: Boolean = true)

Applies ExportSymbol to this function's dispatch and extension receivers, if the appropriate flags are set. Applies to both by default.

Link copied to clipboard