tree-sitter-stack-graphs-javascript 0.3.0

Stack graphs definition for JavaScript using tree-sitter-javascript
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
let x = 1;

// Flow In and Out To Body

function foo(y = x, [z] = arr) {
    //           ^ defined: 1
    /**/ y;
    //   ^ defined: 5, 1
    /**/ z;
    //   ^ defined: 5
}

// Flow Out

/**/ z;
//   ^ defined: