def visit_name(self, node, parent):
context = self._get_context(node)<EOL>if context == astroid.Del:<EOL><INDENT>newnode = nodes.DelName(node.id, node.lineno, node.col_offset, parent)<EOL><DEDENT>elif context == astroid.Store:<EOL><INDENT>newnode = nodes.AssignName(node.id, node.lineno, node.col_offset, parent)<EOL><DEDENT>elif node.id in CONST_NAME_TRANSFORMS:<EOL><INDENT>newnode = nodes.Const(<EOL>CONST_NAME_TRANSFORMS[node.id],<EOL>getattr(node, "<STR_LIT>", None),<EOL>getattr(node, "<STR_LIT>", None),<EOL>parent,<EOL>)<EOL>return newnode<EOL><DEDENT>else:<EOL><INDENT>newnode = nodes.Name(node.id, node.lineno, node.col_offset, parent)<EOL><DEDENT>if context in (astroid.Del, astroid.Store):  <EOL><INDENT>self._save_assignment(newnode)<EOL><DEDENT>return newnode<EOL>
visit a Name node by returning a fresh instance of it