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
Iterate over the nodes of the template.
dataset/ETHPy150Open nucleic/enaml/enaml/core/compiler_nodes.py/TemplateNode.iternodes