MCPcopy Index your code
hub / github.com/RustPython/RustPython / _create_tree

Function _create_tree

Lib/pyclbr.py:269–272  ·  view source on GitHub ↗
(fullmodule, path, fname, source, tree, inpackage)

Source from the content-addressed store, hash-verified

267
268
269def _create_tree(fullmodule, path, fname, source, tree, inpackage):
270 mbrowser = _ModuleBrowser(fullmodule, path, fname, tree, inpackage)
271 mbrowser.visit(ast.parse(source))
272 return mbrowser.tree
273
274
275def _main():

Callers 1

_readmoduleFunction · 0.85

Calls 3

_ModuleBrowserClass · 0.85
visitMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected