Home
last modified time | relevance | path

Searched refs:previous_sibling (Results 1 – 4 of 4) sorted by relevance

/openbmc/openbmc/poky/bitbake/lib/bs4/
H A D__init__.py322 next_element = previous_sibling = next_sibling = None
326 previous_sibling = o.previous_sibling
330 o.setup(parent, previous_element, next_element, previous_sibling, next_sibling)
341 previous_sibling = None
343 previous_element = previous_sibling = parent.contents[index-1]
358 next_sibling.previous_sibling = o
359 o.previous_sibling = previous_sibling
360 if previous_sibling:
361 previous_sibling.next_sibling = o
H A Delement.py206 self.next_sibling.previous_sibling = self
208 if (not previous_sibling
210 previous_sibling = self.parent.contents[-1]
212 self.previous_sibling = previous_sibling
213 if previous_sibling:
214 self.previous_sibling.next_sibling = self
274 if (self.previous_sibling is not None
279 self.next_sibling.previous_sibling = self.previous_sibling
323 new_child.previous_sibling = None
568 i = self.previous_sibling
[all …]
/openbmc/openbmc/poky/bitbake/lib/bs4/tests/
H A Dtest_tree.py644 self.assertEqual(self.tree.previous_sibling, None)
648 self.assertEqual(self.end.previous_sibling.previous_sibling['id'], '2')
657 self.assertEqual(nested_span.previous_sibling, None)
660 self.assertEqual(first_span.previous_sibling, None)
674 self.assertEqual(start.previous_sibling.name, 'b')
675 self.assertEqual(start.previous_sibling.previous_sibling, 'Foo')
844 self.assertEqual(new_text.previous_sibling, "Argh!")
874 self.assertEqual(magic_tag.previous_sibling, b_tag)
882 self.assertEqual(c_tag.previous_sibling, magic_tag)
993 self.assertEqual(remove_tag.previous_sibling, None)
[all …]
/openbmc/openbmc/poky/bitbake/lib/bs4/builder/
H A D_html5lib.py286 first_child.previous_sibling = new_parents_last_child