class_docstr: Parser for Python source files that extracts TF API exports.
class_docstr_tok: ["Parser","for","Python","source","files","that","extracts","TF","API","exports","."]
docstr: Process top-level constant for a potential API docstring export.
docstr_tok: ["Process","top-level","constant","for","a","potential","API","docstring","export","."]
code: def _process_constant(self, node: ast.Constant) -> None:
      """Process top-level constant for a potential API docstring export."""
      if isinstance(node.value, str):
          docstring, modules = self._extract_docstring(node.value)
          if modules:
              self._exports.add_doc(
                  exported_api.ExportedDoc.create(
                      file_name=self._current_file,
                      line_no=node.lineno,
                      modules=modules,
                      docstring=docstring,
                  )
              )
          else:
              self.visit(node)
  
imports: import ast
  from collections.abc import Sequence
  import re
  from typing import Any, Optional, Union, cast
  from absl import flags
  from absl import logging
  from tensorflow.python.tools.api.generator2.shared import exported_api
label_desc: Use image node_id 12 for calling the Parser obj's underlying member method code with example usage: obj._process_constant(node) without return types