def parse_division(l, c, line, root_node, last_section_node):
name = line<EOL>name = name.replace("<STR_LIT:.>", "<STR_LIT>")<EOL>tokens = [t for t in name.split('<STR_LIT:U+0020>') if t]<EOL>node = Name(Name.Type.Division, l, c, '<STR_LIT>' % (tokens[<NUM_LIT:0>], tokens[<NUM_LIT:1>]))<EOL>root_node.add_child(node)<EOL>last_div_node = node<EOL>if last_section_node:<EOL><INDENT>last_section_node.end_line = l<EOL><DEDENT>last_section_node = None<EOL>return last_div_node, last_section_node<EOL>
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)