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
16
17
#------ path: a.py ------#

def foo(x):
    return x

#------ path: b.py ------#

class A:
    bar = 1

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

from a import *
from b import *

foo(A).bar
#      ^ defined: 9