MCPcopy
hub / github.com/rocky/python-uncompyle6 / preorder

Method preorder

uncompyle6/semantics/fragments.py:238–243  ·  view source on GitHub ↗
(self, node=None)

Source from the content-addressed store, hash-verified

236 self.last_finish = finish
237
238 def preorder(self, node=None):
239 start = len(self.f.getvalue())
240 super(SourceWalker, self).preorder(node)
241 self.set_pos_info(node, start, len(self.f.getvalue()))
242
243 return
244
245 def table_r_node(self, node):
246 """General pattern where the last node should should

Callers 13

n_returnMethod · 0.95
n_return_if_stmtMethod · 0.95
n_yield_fromMethod · 0.95
n_exprMethod · 0.95
n_ifelsestmtrMethod · 0.95
n_elifelsestmtrMethod · 0.95
comprehension_walkMethod · 0.95
comprehension_walk3Method · 0.95
n_set_comp_funcMethod · 0.95
closure_walkMethod · 0.95
traverseMethod · 0.95

Calls 1

set_pos_infoMethod · 0.95

Tested by

no test coverage detected