code: def _get_children(node, contexts=False, restrict=None, parent=None):
          
          yield (parent, node) if contexts else node
          if restrict and isinstance(node, restrict):
              return
          for code in node.__children__():
              for child in code.nodes:
                  sub = Wikicode._get_children(child, contexts, restrict, code)
                  for result in sub:
                      yield result
docs: Iterate over all child :class:`.Node`\\ s of a given *node*.