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: Finds exported APIs in filename.
docstr_tok: ["Finds","exported","APIs","in","filename","."]
code: def process_file(self, filename: str) -> None:
      """Finds exported APIs in filename."""
      try:
          with open(filename, mode="r", encoding="utf-8") as f:
              contents = f.read()
      except Exception as e:  # pylint: disable=broad-exception-caught
          # log and ignore exceptions from read
          logging.exception("Error reading %s: %s", filename, e)
      else:
          self.process(filename, contents)
  
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 2 for calling the Parser obj's underlying member method code with example usage: obj.process_file(filename) without return types