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