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: Identifies imports of decorator.
docstr_tok: ["Identifies","imports","of","decorator","."]
code: def visit_Import(
      self, node: ast.Import
  ) -> None:  # pylint: disable=invalid-name
      """Identifies imports of decorator."""
      for name in node.names:
          if name.name == self._decorator_package:
              if name.asname:
                  # import <package> as <name>
                  self._current_file_decorators.add(
                      name.asname + "." + self._decorator_symbol
                  )
              else:
                  # import <package>
                  _, module = self._decorator_package.rsplit(".", 1)
                  self._current_file_decorators.add(
                      module + "." + self._decorator_symbol
                  )
      self.generic_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 6 for calling the Parser obj's underlying member method code with example usage: obj.visit_Import(node) without return types