diff options
author | Daniel Frampton <[email protected]> | 2021-01-04 20:56:21 +0000 |
---|---|---|
committer | Daniel Frampton <[email protected]> | 2021-01-05 04:37:50 +0000 |
commit | f08109bd2d2fdfe52b0443d5db2f33934aeca5c3 (patch) | |
tree | c7a136c0052ea33eae0524f160221f19775c6f29 /crates/parser/src/grammar/items/adt.rs | |
parent | 5b86ff3e91838e58397ec39502d85056e46fcfcb (diff) |
Introduce new queries to compute
1) the set of attributes for all variants of an enum, and
2) the set of attributes for all fields of a variant.
This avoids the current n^2 behavior when rendering completion for variants, which
prevents completion for enums with large numbers of variants.
Diffstat (limited to 'crates/parser/src/grammar/items/adt.rs')
0 files changed, 0 insertions, 0 deletions