def iternodes(self):
        for child in self.children:
            if isinstance(child, DeclarativeNode):
                yield child
            elif isinstance(child, TemplateInstanceNode):
                for node in child.iternodes():
                    yield node
Test the _write_auto_filter() method
dataset/ETHPy150Open nucleic/enaml/enaml/core/compiler_nodes.py/TemplateNode.iternodes--crossover with--dataset/ETHPy150Open jmcnamara/XlsxWriter/xlsxwriter/test/worksheet/test_write_auto_filter.py/TestWriteAutoFilter.test_write_auto_filter_18