sequence

fun <A : PsiElement> PsiElement.sequence(on: Class<A>): List<A>

a convenient function that collects all child nodes A starting from this it applies traverseFilter with the identity function