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
  function Foo() {
    this.bar = 5;
  }

  let x = new Foo();
  x.bar;
//  ^ defined: 2

function Bar(x) {
  this.field = x;
}

let bar = new Bar({ baz: 5 });
bar.field.baz
//        ^ defined: 13