without Declarations
fun <T : KoDeclarationProvider> List<T>.withoutDeclarations(includeNested: Boolean = true, includeLocal: Boolean = true): List<T>
List containing declarations with no declarations.
Return
A list containing declarations with no declarations.
Parameters
include Nested
Whether to include nested declarations.
include Local
Whether to include local declarations.
fun <T : KoDeclarationProvider> List<T>.withoutDeclarations(includeNested: Boolean = true, includeLocal: Boolean = true, predicate: (List<KoBaseDeclaration>) -> Boolean): List<T>
List containing declarations without declarations satisfying the predicate.
Return
A list containing declarations without declarations satisfying the predicate.
Parameters
include Nested
Whether to include nested declarations.
include Local
Whether to include local declarations.
predicate
A function that defines the condition to be met by the list of declarations.