tree-sitter-stack-graphs-python 0.3.0

Stack graphs definition for Python using tree-sitter-python
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#--- path: a/__init__.py ---#

from . import child

#--- path: a/child.py ----

def f():
    pass

#--- path: main.py ---#

import a

print a.child.f()
#             ^ defined: 7