class_docstr: This AST visitor is used to find dependencies of a JITFunction. This can
  be used to invalidate a JITFunction's hash when its source code -- or
  that of its dependencies -- changes.
class_docstr_tok: ["This","AST","visitor","is","used","to","find","dependencies","of","a","JITFunction",".","This","can","be","used","to","invalidate","a","JITFunction","'s","hash","when","its","source","code","--","or","that","of","its","dependencies","--","changes","."]
code: def visit_Name(self, node):
      return self.globals.get(node.id, None)
  
imports: from __future__ import annotations, division
  import ast
  import hashlib
  import inspect
  import os
  import textwrap
  from collections import defaultdict, namedtuple
  from functools import cached_property
  from typing import Callable, Generic, Iterable, List, Optional, TypeVar, Union, cast, overload
  from ..runtime.driver import driver
label_desc: Use image node_id 2 for calling the DependenciesFinder obj's underlying member method code with example usage: obj.visit_Name(node) and returns: self