class_docstr: Replace AST nodes.
class_docstr_tok: ["Replace","AST","nodes","."]
code: def visit_Name(self, node):
      if node.id not in self.replacements:
          return node
  
      new_nodes = self._prepare_replacement(node, node.id)
  
      if not new_nodes:
          return new_nodes
  
      # Preserve the target context.
      adjuster = ContextAdjuster(type(node.ctx))
      for n in new_nodes:
          if hasattr(n, "ctx"):
              adjuster.visit(n)
  
      if len(new_nodes) == 1:
          (new_nodes,) = new_nodes
  
      return new_nodes
  
imports: import ast
  import textwrap
  import gast
  from nvidia.dali._autograph.pyct import anno
  from nvidia.dali._autograph.pyct import ast_util
  from nvidia.dali._autograph.pyct import parser
  from nvidia.dali._autograph.pyct import qual_names
label_desc: Use image node_id 7 for calling the ReplaceTransformer obj's underlying member method code with example usage: obj.visit_Name(node) and returns: new_nodes, node, new_nodes