Do we have any standard(s) for selectors/pattern matching of nodes in ECMAScript AST's? (like XPath/CSS selectors for XML/HTML but for JS)
-
-
I think https://github.com/estree/estree is most closest to what you asking
-
I saw estree a while a go; could be promising. Babel has its own format. But still no matching syntax.
- 5 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.