declarations

fun <T : KoDeclarationProvider> List<T>.declarations(includeNested: Boolean = true, includeLocal: Boolean = true): List<KoBaseDeclaration>

List containing declarations of all types.

Return

A list containing all declarations.

Parameters

includeNested

Whether to include nested declarations.

includeLocal

Whether to include local declarations.