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
18
# --- path: foo/__init__.py ---

FOO = 42

# --- path: foo/bar.py ---

BAR = 42

# --- path: test.py ---

import foo

foo.FOO
# ^ defined: 11, 3
#     ^ defined: 3

foo.bar
#   ^ defined: