Skip to content

feat(ast_tools): add IF_JS_REGEX comments for raw_deser impls#10238

Merged
graphite-app[bot] merged 1 commit intomainfrom
04-04-feat_ast_tools_add_if_js_regex_comments_for_raw_deser_impls
Apr 4, 2025
Merged

feat(ast_tools): add IF_JS_REGEX comments for raw_deser impls#10238
graphite-app[bot] merged 1 commit intomainfrom
04-04-feat_ast_tools_add_if_js_regex_comments_for_raw_deser_impls

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Apr 4, 2025

To insert code into raw transfer deserializer only for TS AST, we place the code between /* IF_TS */ ... /* END_IF_TS */ comments. Support the same for JS AST-only code with /* IF_JS */ ... /* END_IF_JS */ comments.

Copy link
Member Author


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

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.

@github-actions github-actions bot added A-ast-tools Area - AST tools C-enhancement Category - New feature or request labels Apr 4, 2025
@overlookmotel overlookmotel marked this pull request as ready for review April 4, 2025 15:26
@overlookmotel
Copy link
Member Author

Does not alter generated code, only the raw transfer codegen, so merging without review.

@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Apr 4, 2025
Copy link
Member Author

overlookmotel commented Apr 4, 2025

Merge activity

…0238)

To insert code into raw transfer deserializer only for TS AST, we place the code between `/* IF_TS */ ... /* END_IF_TS */` comments. Support the same for JS AST-only code with `/* IF_JS */ ... /* END_IF_JS */` comments.
@graphite-app graphite-app bot force-pushed the 04-04-feat_ast_tools_add_if_js_regex_comments_for_raw_deser_impls branch from ed67407 to fbda88a Compare April 4, 2025 15:36
@graphite-app graphite-app bot merged commit fbda88a into main Apr 4, 2025
17 checks passed
@graphite-app graphite-app bot deleted the 04-04-feat_ast_tools_add_if_js_regex_comments_for_raw_deser_impls branch April 4, 2025 15:44
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ast-tools Area - AST tools C-enhancement Category - New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant