Ai
2 Star 0 Fork 0

mirrors_sourcegraph/javascript-idents

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
example.js 287 Bytes
一键复制 编辑 原始数据 按行查看 历史
Jannis R 提交于 2016-09-25 04:21 +08:00 . strict mode
'use strict';
const acorn = require('acorn/dist/acorn');
const idents = require('.');
const src = acorn.parse(`
const c = a.b[d];
function f (w, x, y) {
return z;
}
`);
idents.inspect(ast, (identifier) => {
console.log('identifier found:', identifier.name);
});
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_sourcegraph/javascript-idents.git
git@gitee.com:mirrors_sourcegraph/javascript-idents.git
mirrors_sourcegraph
javascript-idents
javascript-idents
master

搜索帮助