class_docstr: Mathematics domain.
code: def resolve_any_xref(
      self,
      env: BuildEnvironment,
      fromdocname: str,
      builder: Builder,
      target: str,
      node: pending_xref,
      contnode: Element,
  ) -> list[tuple[str, Element]]:
      refnode = self.resolve_xref(
          env, fromdocname, builder, "eq", target, node, contnode
      )
      if refnode is None:
          return []
      else:
          return [("eq", refnode)]
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Any
  from docutils import nodes
  from docutils.nodes import Element, Node, make_id, system_message
  from sphinx.domains import Domain
  from sphinx.locale import __
  from sphinx.roles import XRefRole
  from sphinx.util import logging
  from sphinx.util.nodes import make_refnode
label_desc: Use image node_id 8 for calling the MathDomain obj's underlying member method code with example usage: obj.resolve_any_xref(env, fromdocname, builder, target, node, contnode) and returns: list, list