MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / __stashNode

Method __stashNode

markdown/treeprocessors.py:71–75  ·  view source on GitHub ↗

Add node to stash

(self, node, type)

Source from the content-addressed store, hash-verified

69 return None, index + 1
70
71 def __stashNode(self, node, type):
72 """ Add node to stash """
73 placeholder, id = self.__makePlaceholder(type)
74 self.stashed_nodes[id] = node
75 return placeholder
76
77 def __handleInline(self, data, patternIndex=0):
78 """

Callers 1

__applyPatternMethod · 0.95

Calls 1

__makePlaceholderMethod · 0.95

Tested by

no test coverage detected