Techatrix ca6fb30e99
std.zig.Ast: improve type safety
This commits adds the following distinct integer types to std.zig.Ast:
- OptionalTokenIndex
- TokenOffset
- OptionalTokenOffset
- Node.OptionalIndex
- Node.Offset
- Node.OptionalOffset

The `Node.Index` type has also been converted to a distinct type while
`TokenIndex` remains unchanged.

`Ast.Node.Data` has also been changed to a (untagged) union to provide
safety checks.
2025-03-07 22:22:01 +01:00
..
2024-12-19 17:10:03 -05:00
2025-02-22 14:32:48 -08:00
2025-02-22 17:09:20 -08:00
2025-02-22 22:21:24 -08:00
2024-07-23 11:43:12 -07:00
2025-03-07 22:22:01 +01:00
2025-03-07 22:22:01 +01:00
2025-02-26 11:42:03 -08:00
2025-02-22 17:09:20 -08:00
2025-02-05 13:58:15 +01:00
2024-08-22 08:44:08 +02:00
2025-02-06 14:23:23 -08:00
2025-02-18 18:07:31 +03:30
2025-02-22 14:32:48 -08:00
2024-08-07 00:48:32 -07:00
2024-07-31 16:57:42 -07:00
2025-01-16 20:42:08 -05:00
2024-08-29 23:43:52 +01:00
2025-02-06 14:23:23 -08:00
2025-01-16 20:42:08 -05:00
2025-02-06 14:23:23 -08:00
2025-02-06 14:23:23 -08:00
2025-02-03 09:14:37 +00:00