-
Notifications
You must be signed in to change notification settings - Fork 17
feat(parser/javascript
): use oxc-parser
#413
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
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
❌ 6 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
Okay |
{ | ||
range: false, | ||
lang: 'js', | ||
astType: 'js', | ||
sourceType: 'script', | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{ | |
range: false, | |
lang: 'js', | |
astType: 'js', | |
sourceType: 'script', | |
} |
These are all the default
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
humm yeah right. but range will need to be used since loc isn't available.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.start
and .end
exist on all nodes, regardless of range setting, does Github support that syntax (over L
?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.start
and.end
exist on all nodes, regardless of range setting
Good to know
does Github support that syntax (over
L
?)
any idea
Description
use
oxc-parser
instead ofacorn
to have better perfValidation
Test should pass
Related Issues
No related issues
Check List
node --run test
and all tests passed.node --run format
&node --run lint
.