class_docstr: A Module that can add global vars during parsing, to support `Module.function` syntax.
code: def __getattr__(self, attr):
      # Customize the error message.
      # NOTE: `__getattr__` is only called when the attribute access fails with an AttributeError
      raise AttributeError(
          f"Cannot find the function `{attr}` in the current IRModule"
      )
  
file_path: tvm/python/tvm/script/parser/ir/parser.py
imports: from ...ir_builder import ir
  from .._core import Parser, dispatch, doc
label_desc: Use image node_id 1 for calling the ModuleWithGlobalVars obj's underlying member method code with example usage: obj.__getattr__(attr) without return types