classesAndObjects

abstract fun classesAndObjects(includeNested: Boolean = true, includeLocal: Boolean = true): List<KoClassAndObjectDeclaration>

The classes and objects present in the scope.

Return

a list of KoClassAndObjectDeclaration representing the classes and objects in the scope.

Parameters

includeNested

specifies whether to include nested classes and objects, by default true.

includeLocal

specifies whether to include local classes, by default true.