code: def visit_while(self: Parser, node: doc.While) -> None:
      """The while visiting method for tir.
  
      Parameters
      ----------
      self : Parser
          The visiting parser.
  
      node : doc.While
          The doc AST while node.
      """
      with self.var_table.with_frame():
          cond = self.eval_expr(node.test)
          with T.While(cond):
              self.visit_body(node.body)
  
imports: import contextlib
  from functools import partial
  from typing import Any
  import tvm
  from tvm.ir import GlobalVar, PrimType
  from tvm.tir import Buffer, IterVar, PrimExpr, Var
  from ...ir_builder import ir
  from ...ir_builder import tir
  from ...ir_builder.base import IRBuilder
  from ...ir_builder.base import IRBuilderFrame
  from .._core import Parser, dispatch, doc
label_desc: Use image node_id 6 for calling a global function with example usage: visit_while(node) without return types