tree-sitter-stack-graphs-javascript 0.3.0

Stack graphs definition for JavaScript using tree-sitter-javascript
Documentation
let obj = {
    x: 1
};



let Foo = class {
    // method declaration
    meth_1() {
        return arguments;
    }

    // generator method declaration
    * gen_meth_1() {
        yield arguments;
    }
};

let foo = new Foo();

foo.meth_1(obj)[0].x;
//                 ^ defined: 2

foo.gen_meth_1(obj)[0].x;
//                     ^ defined: 2