You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use estraverse.traverse in oj to iterate over the esprima AST. I'd like to use estraverse.Controller directly, so I can use Controller#path and Controller#parents.
In estraverse.js, these methods are commented as API. However, no documentation or usage information exists in the README or wiki.
Just to make sure: Controller is intended to be API, right?
The text was updated successfully, but these errors were encountered:
Right.
There's no documentation for Controller APIs, it's my mistake.
But yes, Controller is API (if the function is not _ prefixed). So you can use it :)
I use estraverse.traverse in oj to iterate over the esprima AST. I'd like to use
estraverse.Controller
directly, so I can useController#path
andController#parents
.In estraverse.js, these methods are commented as API. However, no documentation or usage information exists in the README or wiki.
Just to make sure: Controller is intended to be API, right?
The text was updated successfully, but these errors were encountered: