MCPcopy Create free account
hub / github.com/PageBot/PageBot / _pushTag

Method _pushTag

Lib/pagebot/contexts/htmlcontext/xmlbuilder.py:201–203  ·  view source on GitHub ↗

Push the tag name to the stack of open stags.

(self, tag)

Source from the content-addressed store, hash-verified

199 # N O D E S T A C K
200
201 def _pushTag(self, tag):
202 """Push the tag name to the stack of open stags."""
203 self._tagStack.append(tag)
204
205 def _closeTag(self, tag):
206 self.tabOut()

Callers 7

write_tagMethod · 0.95
htmlMethod · 0.80
headMethod · 0.80
mapMethod · 0.80
scriptMethod · 0.80
formMethod · 0.80

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected