上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 111 下一页
摘要: https://www.jianshu.com/p/a3857fa5c899 const fs = require('fs'); const { parse } = require("@babel/parser"); const traverse = require("@babel/traverse 阅读全文
posted @ 2022-01-07 20:08 AngDH 阅读(42) 评论(0) 推荐(0) 编辑
摘要: const fs = require('fs'); const {parse} = require("@babel/parser"); const traverse = require("@babel/traverse").default; const t = require("@babel/typ 阅读全文
posted @ 2022-01-07 19:24 AngDH 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 逆向与采集 https://mp.weixin.qq.com/s/2YJwPFaDik0ITZAw5aDSAQ https://www.jianshu.com/p/a3857fa5c899 中文手册 https://github.com/jamiebuilds/babel-handbook/blob 阅读全文
posted @ 2022-01-06 21:41 AngDH 阅读(32) 评论(0) 推荐(0) 编辑
摘要: // 将js代码转换成AST const { parse } = require("@babel/parser"); // 用来遍历AST中的节点 const traverse = require("@babel/traverse").default; // AST转换成js const gener 阅读全文
posted @ 2022-01-06 21:37 AngDH 阅读(63) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s?__biz=MzkzNDIzMjg3NQ==&mid=2247483791&idx=1&sn=e33b9e546778c4fb29372f527630267b&chksm=c24117cbf5369edd8aa101ee305bbd2719db4 阅读全文
posted @ 2022-01-06 21:03 AngDH 阅读(1158) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/r55lQeLqqwkDk89z4oX6oQ 监听一个对象属性的变化 a = "123456"; data = a; Object.defineProperty(window, "a", { get() { console.log("取值a的值: 阅读全文
posted @ 2022-01-06 12:56 AngDH 阅读(60) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-01-04 19:34 AngDH 阅读(34) 评论(0) 推荐(0) 编辑
摘要: const parser = require("@babel/parser"); const traverse = require("@babel/traverse").default; // 将js代码转换成AST // const { parse } = require("@babel/pars 阅读全文
posted @ 2022-01-02 18:15 AngDH 阅读(81) 评论(0) 推荐(0) 编辑
摘要: const parser = require("@babel/parser"); const traverse = require("@babel/traverse").default; // 将js代码转换成AST // const { parse } = require("@babel/pars 阅读全文
posted @ 2022-01-02 17:36 AngDH 阅读(59) 评论(0) 推荐(0) 编辑
摘要: https://evilrecluse.top/post/7389a59f/ Binding 对象用于存储 绑定 的信息这个对象会作为Scope对象的一个属性存在同一个作用域可以包含多个 Binding 你可以在 @babel/traverse/lib/scope/binding.js 中查看到它的 阅读全文
posted @ 2021-12-28 21:57 AngDH 阅读(118) 评论(0) 推荐(0) 编辑
上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 111 下一页