-
-
Notifications
You must be signed in to change notification settings - Fork 707
perf(linter): support as_* for node type codegen
#14582
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
perf(linter): support as_* for node type codegen
#14582
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
985e304 to
50cf70c
Compare
041b2be to
47481cf
Compare
CodSpeed Performance ReportMerging #14582 will not alter performanceComparing Summary
Footnotes
|
47481cf to
e1c5fe2
Compare
114ad11 to
2458cda
Compare
ec8228f to
89cb41e
Compare
2458cda to
d1f1f6f
Compare
Merge activity
|
Enables the linter codegen to recognize code like `let foo = node.kind().as_ast_kind() else { return };` and generate the relevant AST kinds.
<img width="724" height="429" alt="Screenshot 2025-10-13 at 11 30 46 PM" src="https://github.com/user-attachments/assets/8b71b44a-c22a-48c4-80c7-6d96f4960ca0" />
d1f1f6f to
573cc39
Compare
Enables the linter codegen to recognize code like `let foo = node.kind().as_ast_kind() else { return };` and generate the relevant AST kinds.
<img width="724" height="429" alt="Screenshot 2025-10-13 at 11 30 46 PM" src="https://github.com/user-attachments/assets/8b71b44a-c22a-48c4-80c7-6d96f4960ca0" />
9e3c128 to
8df1e24
Compare
573cc39 to
463be73
Compare

Enables the linter codegen to recognize code like
let foo = node.kind().as_ast_kind() else { return };and generate the relevant AST kinds.