withAllChildrenNamed

fun <T : KoChildProvider> List<T>.withAllChildrenNamed(name: String, vararg names: String, indirectChildren: Boolean = false): List<T>

List containing declarations that have all specified children.

Return

A list containing declarations with all specified child(s).

Parameters

name

The name of the child to include.

names

The name(s) of the child(s) to include.

indirectChildren

Whether to include indirect children.


fun <T : KoChildProvider> List<T>.withAllChildrenNamed(names: Collection<String>, indirectChildren: Boolean = false): List<T>

List containing declarations that have all specified children.

Return

A list containing declarations with all specified child(s).

Parameters

names

The name(s) of the child(s) to include.

indirectChildren

Whether to include indirect children.