-
Beta Was this translation helpful? Give feedback.
Answered by
hzoo
Sep 24, 2020
Replies: 1 comment
-
if you use https://babeljs.io/docs/en/babel-traverse on it's own you can define a catch all enter handler, otherwise you need to specify everything (could use aliases but don't really provide that much) also can do things like "Identifier|FunctionExpression" as a visitor |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MatherLyn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if you use https://babeljs.io/docs/en/babel-traverse on it's own you can define a catch all enter handler, otherwise you need to specify everything (could use aliases but don't really provide that much) also can do things like "Identifier|FunctionExpression" as a visitor