without Local Declarations
List containing declarations with no local declarations.
Return
A list containing declarations with no local declarations.
fun <T : KoLocalDeclarationProvider> List<T>.withoutLocalDeclarations(predicate: (List<KoBaseDeclaration>) -> Boolean): List<T>
List containing declarations without local declarations satisfying the predicate.
Return
A list containing declarations without local declarations satisfying the predicate.
Parameters
predicate
A function that defines the condition to be met by the list of local declarations.