-
-
Notifications
You must be signed in to change notification settings - Fork 476
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
parser: add regex AST node #5060
Comments
@Boshen Do we want these types to be feature-gated? If so It seems this would take more time than I initially expected. It requires me to go in and refactor stuff related to our AST layout to support conditional layouts. |
Welcome back ❤️ No feature gate is needed, all the regular expression parsing code is really lightweight. |
Thanks Captain!⚓
That's great to hear, It Simplifies the process and doesn't prevent us from adding it later on as a follow-up PR. |
Should we close this issue? |
I'll close it since #5256 addresses this. Feel free to reopen if you think the requirements for this issue aren't met yet. |
oxc/crates/oxc_parser/src/js/expression.rs
Lines 348 to 351 in afe728a
This
pattern
node cannot be added to the AST due to not havingCloneIn
implemented. cc @rzvxaThe text was updated successfully, but these errors were encountered: