classes

abstract fun classes(includeNested: Boolean = true, includeLocal: Boolean = true): List<KoClassDeclaration>

The classes present in the scope.

Return

a list of KoClassDeclaration representing the classes in the scope.

Parameters

includeNested

specifies whether to include nested classes, by default true.

includeLocal

specifies whether to include local classes, by default true.