class_docstr: Annotates an AST with additional source information like file name.
class_docstr_tok: ["Annotates","an","AST","with","additional","source","information","like","file","name","."]
code: def __init__(
      self,
      root_node,
      source_lines,
      comments_map,
      context_lineno,
      context_col_offset,
      filepath,
  ):
      self._source_lines = source_lines
      self._comments_map = comments_map
  
      if (
          hasattr(root_node, "decorator_list")
          and root_node.decorator_list
          and hasattr(root_node.decorator_list[0], "lineno")
      ):
          # Typical case: functions. The line number of the first decorator
          # is more accurate than the line number of the function itself in
          # 3.8+. In earier versions they coincide.
          self._lineno_offset = (
              context_lineno - root_node.decorator_list[0].lineno
          )
      else:
          # Fall back to the line number of the root node.
          self._lineno_offset = context_lineno - root_node.lineno
  
      self._col_offset = context_col_offset - root_node.col_offset
  
      self._filepath = filepath
  
      self._function_stack = []
  
imports: import collections
  import difflib
  import io
  import os
  import tokenize
  import gast
  from tensorflow.python.autograph.pyct import anno
  from tensorflow.python.autograph.pyct import ast_util
  from tensorflow.python.autograph.pyct import parser
  from tensorflow.python.autograph.pyct import pretty_printer
  from tensorflow.python.util import tf_inspect
label_desc: Use image node_id 1 to create a new OriginResolver object from inherited base classes: gast with example: obj = OriginResolver(root_node, source_lines, comments_map, context_lineno, context_col_offset, filepath)