class_docstr: A wrapper node for URL query param references.
  
  Sphinx will not build if you don't wrap a reference in a paragraph. And a <div>
  is needed anyway for styling purposes.
class_docstr_tok: ["A","wrapper","node","for","URL","query","param","references",".","Sphinx","will","not","build","if","you","do","n't","wrap","a","reference","in","a","paragraph",".","And","a","<","div",">","is","needed","anyway","for","styling","purposes","."]
code: def visit(self, node):
      if "class" not in node:
          raise ValueError(
              "'class' attribute must be set on the WrapperNode for a "
              "URL query parameter reference."
          )
      self.body.append(self.starttag(node, "div", CLASS=node["class"]))
  
file_path: ray/doc/source/_ext/queryparamrefs.py
imports: from docutils import nodes
  from docutils.parsers.rst import directives
  from sphinx.util.docutils import SphinxDirective
label_desc: Use image node_id 1 for calling the WrapperNode obj's underlying member method code with example usage: obj.visit(node) without return types