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)
That’s an AST standard, not for selectors/matching AFAIK +@kangax
-
-
yeah, one option could be: xpath/css + estree format: Class[id=Foo]>FunctionExpression>params:has([type=RestElement]
- 1 more reply
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.