aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser/src/grammar/items/adt.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename EnumVariant -> VariantAleksey Kladov2020-07-301-2/+2
|
* Rename EnumDef -> EnumAleksey Kladov2020-07-301-1/+1
|
* Rename StructDef -> StructAleksey Kladov2020-07-301-1/+1
|
* Finalize union grammarAleksey Kladov2020-07-301-1/+1
|
* Rename FieldDef -> FieldAleksey Kladov2020-07-301-4/+4
|
* Support arbitrary discriminantsAleksey Kladov2020-03-201-4/+6
| | | | Closes #3661
* Introduce dedicated AST node for unionAleksey Kladov2019-11-251-0/+176
Although structs and unions have the same syntax and differ only in the keyword, re-using the single syntax node for both of them leads to confusion in practice, and propagates further down the hir in an upleasent way. Moreover, static and consts also share syntax, but we use different nodes for them.