TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Es-search: Search ECMAScript structurally

24 点作者 davezatch大约 9 年前

5 条评论

dack大约 9 年前
This is pretty neat - does it actually support unknown identifier search though?<p>Like, I can see &quot;if:a===b&quot; as an example, but what if you don&#x27;t know the variable names? Like &quot;if:&lt;ident&gt;===b&quot; or something?
评论 #11528460 未加载
hzoo大约 9 年前
There&#x27;s also <a href="http:&#x2F;&#x2F;www.graspjs.com" rel="nofollow">http:&#x2F;&#x2F;www.graspjs.com</a> which also uses acorn.
djfm大约 9 年前
This is very nice. I wonder if this could not be used as a base to build a code refactoring tool too! Refactoring is often just find and replace with a complex find expression.
ludamad大约 9 年前
Cool. A vim plugin and typescript type annotation support and I&#x27;d totally use it.
BFatts大约 9 年前
What is this? I read: &quot;Using a special syntax like CSS&quot; and then saw: &quot;if:&lt;10%%(...&quot; I gotta admit, it looks like it&#x27;s just JavaScript, but harder to read. How does it make finding code easier?