Richard Smith
99bde2acb3
Refactor match parse nodes. ( #6870 )
...
Use the same node kind for the body of `case` and `default` handlers. We
don't need to distinguish these in check, so don't create extra node
kinds for them.
In order to make the nodes properly delimited, make the label (`case
...` or `default`) nodes be children of the `=>` node rather than
siblings. This allows us to use the node kind of the `=>` as the
bracketing node for the complete handler, rather than having two
different bracketing node kinds, one for each kind of label.
2026-03-10 20:04:28 +00:00
..
2023-09-01 01:35:45 +00:00
2026-03-10 20:04:28 +00:00
2026-02-26 19:21:19 +00:00
2026-02-12 01:56:15 +00:00
2026-02-12 01:56:15 +00:00
2024-10-23 18:16:32 +00:00
2025-08-08 20:32:16 +00:00
2025-03-27 21:17:54 +00:00
2025-04-18 14:17:48 +00:00
2025-04-05 04:25:00 +00:00
2025-04-05 04:25:00 +00:00
2026-02-12 01:56:15 +00:00
2025-04-05 04:25:00 +00:00
2026-03-06 21:08:22 +00:00
2025-12-30 19:18:34 +00:00
2026-02-23 22:46:03 +00:00
2025-04-05 04:25:00 +00:00
2025-09-02 23:15:26 +00:00
2026-02-23 22:46:03 +00:00
2026-02-26 19:21:19 +00:00
2026-02-23 22:46:03 +00:00
2026-02-12 01:56:15 +00:00
2026-02-07 02:41:22 +00:00
2025-04-05 04:25:00 +00:00
2025-10-23 18:34:52 +00:00
2025-11-05 17:21:41 +00:00
2026-02-12 01:56:15 +00:00
2026-03-04 14:57:48 +00:00
2026-02-23 22:46:03 +00:00
2026-03-10 20:04:28 +00:00
2025-04-05 04:25:00 +00:00
2026-02-26 19:21:19 +00:00
2026-02-12 01:56:15 +00:00
2025-12-30 19:18:34 +00:00
2025-12-17 15:40:20 +00:00
2025-12-17 15:40:20 +00:00
2026-02-23 22:46:03 +00:00
2025-10-23 18:34:52 +00:00
2026-02-23 22:46:03 +00:00
2026-02-26 19:21:19 +00:00
2025-04-05 04:25:00 +00:00
2025-12-17 15:40:20 +00:00
2026-02-23 22:46:03 +00:00
2025-07-18 18:29:12 +00:00
2025-09-12 22:59:37 +00:00
2026-03-09 22:30:16 +00:00
2026-03-09 22:30:16 +00:00
2025-09-12 22:59:37 +00:00
2026-03-10 20:04:28 +00:00
2026-01-14 16:58:15 +00:00
2025-06-27 22:08:47 +00:00
2025-09-02 23:15:26 +00:00
2026-02-04 17:24:55 +00:00
2024-08-22 22:32:19 +00:00
2026-02-07 02:41:22 +00:00
2026-02-26 19:21:19 +00:00
2025-09-12 22:59:37 +00:00
2026-03-10 20:04:28 +00:00
2025-04-05 04:25:00 +00:00
2026-02-07 02:41:22 +00:00
2025-07-21 20:02:27 +00:00
2026-02-23 22:46:03 +00:00
2025-01-22 23:15:00 +00:00
2026-02-07 02:41:22 +00:00
2026-02-23 22:46:03 +00:00
2026-03-10 20:04:28 +00:00