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
class Foo:
    a = 1

    def mathod_1(self):
        return self.a
        #           ^ defined: 2

    # Self can be named anything
    def method_2(actually_self):
        return actually_self.a
        #                    ^ defined: 2