esrefactor icon indicating copy to clipboard operation
esrefactor copied to clipboard

How to get the references by function names

Open georglang opened this issue 11 years ago • 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

georglang avatar Sep 18 '14 07:09 georglang