ariya/esrefactor

How to get the references by function names

georglang opened this issue · 0 comments

Hi ariya,

is it possible to get the references of function names?
e.g

var ctx = new esrefactor.Context('function foo(){} foo(); foo();');
var id = ctx.identify(9);

//get all references of foo