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
include Nested
Whether to include nested declarations.
include Local
Whether to include local declarations.