childrenOfTypeBreadthFirst

inline fun <T : PsiElement> PsiElement.childrenOfTypeBreadthFirst(): Sequence<T>(source)

Return

a sequence of child nodes of type T of this PsiElement in breadth-first order. The sequence starts with the first child node of this PsiElement, followed by the first child node of the second child node, and so on.