-
Notifications
You must be signed in to change notification settings - Fork 8
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
Parity with Esprima #6
Comments
If you do this piecemeal... Comments would be my #1 vote. |
@ozten Comments are now supported as of 0.1.1 :) The ast will have a comments array with the character position of the comment (as per this example). |
Ah, you might want to document the |
What would it take (downstream perhaps) to have the parser keep the comments in-place in its internal representation such that Stringify would output them right as they were? |
Esprima has some extra goodies on top of Mozilla's AST, such as a token list, ranges, and comments. There are also bugs with the current location information collected in reflect.js that need to be corrected.
The text was updated successfully, but these errors were encountered: