declarations

abstract fun declarations(includeNested: Boolean = true, includeLocal: Boolean = true): List<KoBaseDeclaration>

The declarations present in the scope.

Return

a list of KoBaseDeclaration representing the declarations in the scope.

Parameters

includeNested

specifies whether to include nested declarations, by default true.

includeLocal

specifies whether to include local declarations, by default true.