MCPcopy Index your code
hub / github.com/rocky/python-uncompyle6 / default

Method default

uncompyle6/semantics/aligner.py:108–122  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

106 self.f.write(out)
107
108 def default(self, node):
109 mapping = self._get_mapping(node)
110 if hasattr(node, "linestart"):
111 if node.linestart:
112 self.desired_line_number = node.linestart
113 table = mapping[0]
114 key = node
115
116 for i in mapping[1:]:
117 key = key[i]
118 pass
119
120 if key.kind in table:
121 self.template_engine(table[key.kind], node)
122 self.prune()
123
124
125DEFAULT_DEBUG_OPTS = {"asm": False, "tree": TREE_DEFAULT_DEBUG, "grammar": False}

Callers

nothing calls this directly

Calls 2

_get_mappingMethod · 0.45
template_engineMethod · 0.45

Tested by

no test coverage detected