Skip to content
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

refactor(transformer): pass in symbols and scopes #3978

Merged
merged 1 commit into from
Jun 30, 2024

Conversation

Boshen
Copy link
Member

@Boshen Boshen commented Jun 30, 2024

This PR adds a new method build_with_symbols_and_scopes to make semantic building optional, there may be prior steps that has the semantic data already built.

Copy link

graphite-app bot commented Jun 30, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

@github-actions github-actions bot added the A-transformer Area - Transformer / Transpiler label Jun 30, 2024
@Boshen Boshen added the 0-merge Merge with Graphite Merge Queue label Jun 30, 2024
Copy link

graphite-app bot commented Jun 30, 2024

Merge activity

  • Jun 30, 2:32 AM EDT: The merge label 'merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Jun 30, 2:33 AM EDT: Boshen added this pull request to the Graphite merge queue.
  • Jun 30, 2:37 AM EDT: Boshen merged this pull request with the Graphite merge queue.

This PR adds a new method `build_with_symbols_and_scopes` to make semantic building optional, there may be prior steps that has the semantic data already built.
@Boshen Boshen force-pushed the transformer-symbols-and-scopes branch from e020fcd to 5845057 Compare June 30, 2024 06:33
@graphite-app graphite-app bot merged commit 5845057 into main Jun 30, 2024
23 checks passed
@graphite-app graphite-app bot deleted the transformer-symbols-and-scopes branch June 30, 2024 06:37
Copy link

codspeed-hq bot commented Jun 30, 2024

CodSpeed Performance Report

Merging #3978 will not alter performance

Comparing transformer-symbols-and-scopes (5845057) with main (b234ddd)

Summary

✅ 28 untouched benchmarks

@github-actions github-actions bot mentioned this pull request Jun 30, 2024
Boshen added a commit that referenced this pull request Jun 30, 2024
## [0.16.2] - 2024-06-30

### Features

- dc6d45e ast,codegen: Add `TSParenthesizedType` and print type
parentheses correctly (#3979) (Boshen)
- 63f36da parser: Parse modifiers with `parse_modifiers` (take 2)
(#3977) (DonIsaac)

### Bug Fixes

- dac617d codegen: Print some missing typescript attributes (#3980)
(Boshen)
- bd1141d isolated-declarations: If declarations is referenced in
`declare global` then keep it (#3982) (Dunqing)

### Performance

- b234ddd semantic: Only check for jsdoc if jsdoc building is enabled
(Boshen)
- 1eac3d2 semantic: Use `Atom<'a>` for `Reference`s (#3972) (Don Isaac)
- 0c81fbe syntax: Use `NonZeroU32` for `SymbolId` and `ReferenceId`
(#3970) (Boshen)

### Refactor

- 5845057 transformer: Pass in symbols and scopes (#3978) (Boshen)

Co-authored-by: Boshen <Boshen@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0-merge Merge with Graphite Merge Queue A-transformer Area - Transformer / Transpiler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant