| Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
such as ArrayList, StaticStringMap, BoundedArray, and more
|
|
|
|
The old heuristic of checking only for the number of fields has the
downside of classifying all opaque types, such as `std.c.FILE`, as
"namespaces" rather than "types".
|
|
upstream commit 1f921d540e1a8bb40839be30239019c820eb663d
after this branch is merged, ziglang/zig becomes the new repository for
this code.
|
|
|