MCPcopy Index your code
hub / github.com/clips/pattern / recursiveChildGenerator

Method recursiveChildGenerator

pattern/web/soup/BeautifulSoup.py:878–885  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

876 return iter(self.contents)
877
878 def recursiveChildGenerator(self):
879 if not len(self.contents):
880 raise StopIteration
881 stopNode = self._lastRecursiveChild().next
882 current = self.contents[0]
883 while current is not stopNode:
884 yield current
885 current = current.next
886
887
888# Next, a couple classes to represent queries and their results.

Callers

nothing calls this directly

Calls 2

lenFunction · 0.85
_lastRecursiveChildMethod · 0.80

Tested by

no test coverage detected