code: def eval_expr(
      parser: "Parser",
      node: Union[doc.expr, doc.Expression],
      dict_globals: Optional[Dict[str, Any]],
  ) -> Any:
      """Expression evaluation for TVMScript parser.
  
      Parameters
      ----------
      parser : Parser
          The parser bound with the evaluator.
  
      node : Union[doc.expr, doc.Expression]
          The root node of AST tree node of expression to evaluate.
  
      dict_globals : Optional[Dict[str, Any]]
          The optional global value table for expression evaluation.
  
      Returns
      -------
      res : Any
          The evaluation result.
      """
      value_table = {}
      if dict_globals is not None:
          value_table.update(dict_globals)
      return ExprEvaluator.eval(parser, value_table, node)
  
imports: import ast
  from typing import TYPE_CHECKING, Any, Callable, Dict, List, Optional, Type, Union
  from .None import dispatch, doc
  from .error import ParserError
label_desc: Use image node_id 2 for calling a global function with example usage: eval_expr(parser, node, dict_globals) and returns: ExprEvaluator