I believe http://esprima.org/ is the tool you want.
On Wed, Nov 29, 2017, 6:37 PM madana gopal <[email protected]> wrote: > > hi, > > To explain in details, let's take below as the javascript code: > > var test = 1; > var t = function () { console.log(test); } > > In this case, we are executing the file as below in javascript: > > vm.runInNewContext(code); > > Here, how can we print the variable names used like test,t either in > javascript or in c++ code?. Please help on this. > > Regards, > Madan > > -- > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to the Google Groups > "v8-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
smime.p7s
Description: S/MIME Cryptographic Signature
