-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove AstPath
(aka FastPath
)
#10785
Comments
pros and cons I think other than what fisker gives: Pros
Cons
|
I think similar function for node not hard to implement. |
The |
As a plugin author, I find |
const AstPath = path.constructor Not recommanded, but possible :) |
Seriously?
Use it where it's available. Nothing stops you.
Clone it if needed. Essentially it's just an array. It doesn't have to be a singleton. |
It's hard to access ancestors, why can't we use
.parent
like ESLint do?And it's a state machine, remove it so maybe we can print node in parallel, by worker?
The text was updated successfully, but these errors were encountered: