Zig 0.17.0-dev (Split by item)

This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.

Builtin

All builtins need to have a source so that macros can reference them but for some it is possible to directly call an equivalent Zig builtin which is preferrable.

builtins.Builtin
pub const Builtin = struct

File

Code

pub const Builtin = struct {
    /// The name of the builtin in `c_builtins.zig`.
    name: []const u8,
    tag: ?ast.Node.Tag = null,
}