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
17
let x = 1;
let y = 2;
let z = 3;

// Flow in
z = x;
//  ^ defined: 1

// Flow around, update, and out

x = (y = 3);

/**/ x;
//   ^ defined: 1, 11

/****/ y;
//     ^ defined: 2, 11