def _load_attr(name: str, ctx: ast.AST = ast.Load()) -> ast.Attribute:
attrs = name.split("<STR_LIT:.>")<EOL>def attr_node(node, idx):<EOL><INDENT>if idx >= len(attrs):<EOL><INDENT>node.ctx = ctx<EOL>return node<EOL><DEDENT>return attr_node(<EOL>ast.Attribute(value=node, attr=attrs[idx], ctx=ast.Load()), idx + <NUM_LIT:1><EOL>)<EOL><DEDENT>return attr_node(ast.Name(id=attrs[<NUM_LIT:0>], ctx=ast.Load()), <NUM_LIT:1>)<EOL>
Generate recursive Python Attribute AST nodes for resolving nested
    names.