def _parse_section(self, node, state):
if node.tag not in ["<STR_LIT:html>", "<STR_LIT>"]:<EOL><INDENT>return state<EOL><DEDENT>stable_id = (<EOL>f"<STR_LIT>"<EOL>f"<STR_LIT>"<EOL>f"<STR_LIT>"<EOL>f"<STR_LIT::>"<EOL>f"<STR_LIT>"<EOL>)<EOL>name = node.attrib["<STR_LIT:name>"] if "<STR_LIT:name>" in node.attrib else None<EOL>state["<STR_LIT>"][node] = Section(<EOL>document=state["<STR_LIT>"],<EOL>name=name,<EOL>stable_id=stable_id,<EOL>position=state["<STR_LIT>"]["<STR_LIT>"],<EOL>)<EOL>state["<STR_LIT>"]["<STR_LIT>"] += <NUM_LIT:1><EOL>return state<EOL>
Parse a Section of the node.

        Note that this implementation currently creates a Section at the
        beginning of the document and creates Section based on tag of node.

        :param node: The lxml node to parse
        :param state: The global state necessary to place the node in context
            of the document as a whole.