def _process_block(self, node, **kwargs):
<EOL>if not hasattr(node, '<STR_LIT>'):<EOL><INDENT>node.super_block = None<EOL>child_block = self.child_blocks.get(node.name)<EOL>if child_block:<EOL><INDENT>last_block = child_block<EOL>while hasattr(last_block, '<STR_LIT>'):<EOL><INDENT>last_block = child_block.super_block<EOL><DEDENT>last_block.super_block = node<EOL>node = child_block<EOL><DEDENT><DEDENT>for n in node.body:<EOL><INDENT>self._process_node(n, super_block=node.super_block, **kwargs)<EOL><DEDENT>
Processes a block e.g. `{% block my_block %}{% endblock %}`