Get all children that satisfy the path.

def find_all(root, path):
  """Get all children that satisfy the path."""
  path = parse_path(path)

  if len(path) == 1:
    yield from get_children(root, path[0])
  else:
    for child in get_children(root, path[0]):
      yield from find_all(child, path[1:])