Sync with the ultimate master#1035
Merged
auduchinok merged 10 commits intomainfrom Jan 9, 2026
Merged
Conversation
WIP Introduce `NodeTypeFlags` and optimize `TreeElement` and a few other places to use them GitOrigin-RevId: 8453c93d129b48df72687501379e65d248135cf5
WIP Pass type of element into `NodeType` constructor to calculate node type flags and build map from implemented interface types to node type indicies. GitOrigin-RevId: 2fd49a9f1e6633856c0f9d30e17f5d64d00f6f55
WIP `INodeTypesInitializer` language service GitOrigin-RevId: 797b5c122308f0f4e54da958c3b9200178a190d8
WIP * Make node types registration asynchronous, introduce `NodeType.EnsureAllTypesRegistered` * More efficient storage of indices: tuple of `(int SingleIndex, SlimHashSet<int>? IndexSet)` instead of always allocating a `SlimHashSet<int>` * Cleanup new APIs * Remove node types initialization from static constructors of `CSharpCacheProvider` and `VBCacheProvider` * Remove earlier introduced `elementTypeFlags` option from PsiGen and update .psi files GitOrigin-RevId: a28da1c1de3688aaacaa090de9228401e9773c9a
WIP Fix bugs GitOrigin-RevId: 5f3b3b03dbe627fc132e687d3ee8c13854b6732f
* Rename `AbstractNodeTypeIndexer` into `NodeTypesRegistry` (inherited classes renamed as well) * Move registration logic from `NodeType` to `NodeTypesRegistry` * Replace `TryGetIndicesByInterface` with `NodeTypesRegistry.TryGetInterfaceFilter` which returns `NodeTypeInterfaceFilter?` * `NodeTypeInterfaceFilter.CanBeImplementedBy` hides a special case for token node types, so users of the API don't have to remember about it * `DisableRegistrationInProgressCheck` is renamed into `DisableRegistration`, and the registration disabled counter is taken into account in more places * `INodeTypesInitializer`, `NodeTypeFlags`, `NodeTypeInterfaceFilter` are moved into separate files GitOrigin-RevId: 85338e6e90d69aa15b3d337efda4637e436718aa
…s with correct checklist item annotation (cherry picked from commit 168bd2cb6884c7858d76b9b79ef5bcbe35d640f0) NET-MR-17821 GitOrigin-RevId: 4829384df1d5e16be8c353d4fb19d7e11edb00e8
…he solution root GitOrigin-RevId: 199bd8430d1aa2fcd8d4d2c3dbfbc52c191fd665
GitOrigin-RevId: f0d69f85f46dfb16d57acaea78db5610b875deca
…ture GitOrigin-RevId: 1ea676fc36f30e7197039b46c613f4d1dd57e527
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sync with the ultimate master.