def _generate_instances(self):
for node in self.node_stack:<EOL><INDENT>yield node<EOL><DEDENT>while self._data:<EOL><INDENT>yield self._make_instance(self._data.pop(<NUM_LIT:0>))<EOL><DEDENT>
ListNode item generator. Will be used internally by __iter__ and __getitem__

Yields:
    ListNode items (instances)