Home | History | Annotate | Download | only in dom

Lines Matching refs:stack

1676         stack = self._id_search_stack
1677 if stack is None:
1679 stack = [self.documentElement]
1680 self._id_search_stack = stack
1681 elif not stack:
1687 while stack:
1688 node = stack.pop()
1689 # add child elements to stack for continued searching
1690 stack.extend([child for child in node.childNodes