class_docstr: Associate each node with the list of its ancestors
  
  Based on the tree view of the AST: each node has the Module as parent.
  The result of this analysis is a dictionary with nodes as key,
  and list of nodes as values.
class_docstr_tok: ["Associate","each","node","with","the","list","of","its","ancestors","Based","on","the","tree","view","of","the","AST",":","each","node","has","the","Module","as","parent",".","The","result","of","this","analysis","is","a","dictionary","with","nodes","as","key",",","and","list","of","nodes","as","values","."]
code: def generic_visit(self, node):
      self.result[node] = current = self.current
      self.current += (node,)
      super(Ancestors, self).generic_visit(node)
      self.current = current
  
file_path: catboost/contrib/python/pythran/pythran/analyses/ancestors.py
imports: from pythran.passmanager import ModuleAnalysis
label_desc: Use image node_id 2 for calling the Ancestors obj's underlying member method code with example usage: obj.generic_visit(node) without return types