Home
last modified time | relevance | path

Searched refs:treewalker (Results 1 – 5 of 5) sorted by relevance

/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/serializer/
Dhtmlserializer.py171 def serialize(self, treewalker, encoding=None): argument
178 treewalker = Filter(treewalker, encoding)
183 treewalker = Filter(treewalker)
186 treewalker = Filter(treewalker)
189 treewalker = Filter(treewalker)
194 treewalker = Filter(treewalker)
196 for token in treewalker:
302 def render(self, treewalker, encoding=None): argument
304 return b"".join(list(self.serialize(treewalker, encoding)))
306 return "".join(list(self.serialize(treewalker)))
/external/chromium-trace/catapult/third_party/html5lib-python/
DCHANGES.rst66 * Fix #115: lxml treewalker can now deal with fragments containing, at
107 treewalker; it also resolves all known bugs with ``dom2sax``.
109 * Fix treewalker assertions on hitting bytes strings on
147 * Optional ``Genshi`` treewalker support fixed.
Drequirements-optional.txt3 # We support a Genshi treewalker that can be used to serialize Genshi
DREADME.rst114 - ``genshi`` has a treewalker (but not builder); and
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/
Dtest_serializer.py150 self.treewalker = html5lib.getTreeWalker("lxml")