website
website copied to clipboard
AST Explorer
Happy new year! 🎊 It is a very basic concept of AST panel as following as AST explorer.
Except for an auto focusing option in AST explorer, on/off methods, empty keys and location data features are completed.

I appreciate your review and help in advance.
Related Issue : Babel Roadmap - AST Explorer
Deploy preview for babel ready!
Built with commit 00da94bf27b950f8a01839425932aed6ae1ff3e3
https://deploy-preview-1933--babel.netlify.com
That looks good. Would be cool to be able to click on the code and that it shows the location in the AST, as ASTExplorer.
Also, do you have an idea how we could remove our internal properties in the AST? (_fromTemplate
, _letDone
etc).
우연히 웹서핑하다가 보게됐는데 바벨 컨트리뷰터라니 존경합니다ㄷㄷ
We should remove every property prefixed with _
replaces #1421
The output looks good (I haven't read the code yet).
Another possible improvement is to show type
always as the first property since it is the most important one, or to hide it and print something like
BinaryExpression {
"left": NumericLiteral {
"value":1
},
"operator": "+",
"right": NumericLiteral {
"value":1
}
}
There also seems to be a lot of unrelated changes to docs
and versioned_docs
, they should be reverted or the branch rebased.