e1c0bdaf75
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. |
||
---|---|---|
.. | ||
grammar | ||
syntax_kind | ||
event.rs | ||
grammar.rs | ||
lib.rs | ||
parser.rs | ||
syntax_kind.rs | ||
token_set.rs |