def bump_attribute_nodes(children):
    """Move attribute nodes to the top of children list."""
    que = []
    for child in children:
        if child.label[0] == '*':
            yield child
        else:
            que.append(child)
    for child in que:
        yield child
