Dump JS source code after modify values in Syntax Tree Format

128 views
Skip to first unread message

Jus LL

unread,
Apr 27, 2013, 2:33:07 AM4/27/13
to esp...@googlegroups.com
Hi all

I parsed some Javascript code using 
esprima.parse(someCode);


After modify some values of some statement in the JSON it returns, I want to covert the JSON back to Javascript source code. Any ideas?

Thanks

Jus LL

unread,
Apr 27, 2013, 3:24:12 AM4/27/13
to esp...@googlegroups.com
In other words, given the JSON of syntax tree format code, how to convert this back to actual javascript source code?

Thanks

Ariya Hidayat

unread,
Apr 27, 2013, 9:48:54 AM4/27/13
to esp...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages