Home
last modified time | relevance | path

Searched refs:previous_element (Results 1 – 6 of 6) sorted by relevance

/openbmc/openbmc/poky/bitbake/lib/bs4/
H A D__init__.py320 previous_element = most_recent_element or self._most_recent_element
327 if not previous_element:
328 previous_element = o.previous_element
330 o.setup(parent, previous_element, next_element, previous_sibling, next_sibling)
340 previous_element = parent
343 previous_element = previous_sibling = parent.contents[index-1]
350 o.previous_element = previous_element
351 if previous_element:
352 previous_element.next_element = o
355 next_element.previous_element = o
H A Delement.py196 self.previous_element = previous_element
197 if previous_element is not None:
198 self.previous_element.next_element = self
265 if (self.previous_element is not None and
269 next_element.previous_element = self.previous_element
270 self.previous_element = None
324 new_child.previous_element = self
330 if new_child.previous_element is not None:
494 return self.previous_element
561 i = self.previous_element
[all …]
H A Dtesting.py56 self.assertEqual(earlier, e.previous_element)
214 self.assertEqual(comment, baz.previous_element)
H A DNEWS.txt81 * The .previous_element of a BeautifulSoup object is now always None,
/openbmc/openbmc/poky/bitbake/lib/bs4/tests/
H A Dtest_tree.py527 self.assertEqual(self.end.previous_element.previous_element, "Two")
531 self.assertEqual(first.previous_element, None)
824 self.assertEqual(new_text.previous_element, b)
878 self.assertEqual(magic_tag.previous_element, find)
887 self.assertEqual(c_tag.previous_element, the)
991 self.assertEqual(remove_tag.previous_element, None)
997 self.assertEqual(move_tag.previous_element, "We")
1007 self.assertEqual(g_tag.previous_element, to_text)
1053 self.assertEqual(extracted.previous_element, None)
1342 self.assertEqual(None, s2.previous_element)
[all …]
/openbmc/openbmc/poky/bitbake/lib/bs4/builder/
H A D_html5lib.py283 first_child.previous_element = new_parents_last_descendant
285 first_child.previous_element = new_parent_element
298 new_parents_last_descendant_next_element.previous_element = last_child