https://github.com/jquery/esprima 从JavaScript源代码形成AST
https://github.com/estools/estraverse 遍历树的节点并修改
https://github.com/estools/escodegen 把修改完的AST再次转化为源代码
参考:
https://astexplorer.net/ 神器,竟然还支持 solidity
http://jartto.wang/2018/11/17/about-ast
https://blog.fundebug.com/2019/01/22/how-does-javascript-compile/
https://segmentfault.com/a/1190000017992387
https://mp.weixin.qq.com/s/UYzwVRPFas6hwe2U7R0eIg