def METHOD_NAME(self, node):
    result = []
    for elem in (node.values() if isinstance(node, dict) else node):
        if base.is_ast_node(elem) or typeutils.is_container(elem):
            result.append(self.visit(elem))
        else:
            result.append(elem)
    return result