code: def _dispatch(self: "Parser", type_name: str) -> dispatch.ParseMethod:
      for token in [self.dispatch_tokens[-1], "default"]:
          func = dispatch.get(
              token=token, type_name=type_name, default=None
          )
          if func is not None:
              return _dispatch_wrapper(func)
      return _dispatch_wrapper(
          lambda self, node: self.generic_visit(node)
      )
  
imports: import abc
  import inspect
  from collections import defaultdict
  from contextlib import contextmanager
  from typing import Any, Callable, Dict, List, Optional, Set, Union
  import numpy
  from tvm._ffi.base import TVMError
  from tvm.error import DiagnosticError
  from tvm.ir import GlobalVar
  from .None import dispatch, doc
  from .diagnostics import Diagnostics, Source
  from .evaluator import eval_assign, eval_expr
label_desc: Use image node_id 4 for calling a global function with example usage: _dispatch(type_name) and returns: _dispatch_wrapper, _dispatch_wrapper