Aleksey Kladov dbb702cfc1 internal: remove accidental code re-use
FragmentKind played two roles:

* entry point to the parser
* syntactic category of a macro call

These are different use-cases, and warrant different types. For example,
macro can't expand to visibility, but we have such fragment today.

This PR introduces `ExpandsTo` enum to separate this two use-cases.

I suspect we might further split `FragmentKind` into `$x:specifier` enum
specific to MBE, and a general parser entry point, but that's for
another PR!
2021-09-05 22:36:36 +03:00
..
2021-04-01 19:46:43 +02:00
2021-08-30 15:11:42 +08:00
2021-06-03 18:09:21 +02:00
2021-08-16 18:29:16 +02:00
2021-06-11 00:10:09 +03:00
2021-05-25 00:50:19 +02:00
2021-09-05 22:36:36 +03:00
2021-09-05 19:22:34 +09:00
2021-06-21 16:40:21 +02:00
2021-06-10 23:43:46 +03:00
2021-03-18 01:53:22 +01:00
2021-07-27 18:31:21 -04:00
2021-07-05 17:06:16 +02:00