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 call for potential symbol export.
docstr_tok: ["Process","top-level","call","for","potential","symbol","export","."]
code: def _process_call(self, node: ast.Call) -> None:
      """Process top-level call for potential symbol export."""
      func = node.func
      if self._is_export_call(func):
          func = cast(ast.Call, func)
          # tf_export(...)(id)
          if len(node.args) != 1 or node.keywords:
              raise BadExportError(
                  f"{self._current_file}:{node.lineno} export must be"
                  f" called with a single value: {ast.dump(node)}"
              )
          symbol = self._name(self._unwrap_simple_call(node.args[0]))
          if not symbol:
              raise BadExportError(
                  f"{self._current_file}:{node.lineno} export must be"
                  f" called with a single value: {ast.dump(node)}"
              )
          self._add_exported_symbol(func, symbol)
      elif (
          isinstance(func, ast.Attribute)
          and func.attr == "export_constant"
          and self._is_export_call(func.value)
      ):
          # tf_export(...).export_constant(__name__, id)
          if (
              len(node.args) != 2
              or node.keywords
              or self._name(node.args[0]) != "__name__"
          ):
              raise BadExportError(
                  f"{self._current_file}:{node.lineno} export_constant must be"
                  f" called with __name__, <id>: {ast.dump(node)}"
              )
          self._add_exported_symbol(
              func.value, self._literal_value(node.args[1])
          )
      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 11 for calling the Parser obj's underlying member method code with example usage: obj._process_call(node) without return types