docs: def parse_division(l, c, line, root_node, last_section_node):
      """
      Extracts a division node from a line
  
      :param l: The line number (starting from 0)
  
      :param c: The column number
  
      :param line: The line string (without indentation)
  
      :param root_node: The document root node.
  
      :return: tuple(last_div_node, last_section_node)
      """
      name = line
      name = name.replace(".", "")
      # trim whitespaces/tabs between XXX and DIVISION
      tokens = [t for t in name.split(' ') if t]
      node = Name(Name.Type.Division, l, c, '%s %s' % (tokens[0], tokens[1]))
      root_node.add_child(node)
      last_div_node = node
      # do not take previous sections into account
      if last_section_node:
          last_section_node.end_line = l
      last_section_node = None
      return last_div_node, last_section_node