std.zig.Zoir.Node.Index.Range
- Kind
- struct
- Module
std.zig.Zoir
Source: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
The entries of the 224 modules of the Zig reference that have fewer than 20 entries each, in the order of the module names. This page has 1,638 cards.
std.zig.ZoirSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn at(r: Range, i: u32) Index
std.zig.ZoirSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.ZoirSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.ZoirSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.ZoirSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn get(nts: NullTerminatedString, zoir: *const Zoir) [:0]const u8
std.zig.ZoirSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn generate(gpa: Allocator, tree: Ast, options: Options) Allocator.Error!Zoir
std.zig.ZonGenSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zig.ZonGenSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn parseStrLit(tree: *const Ast, node: Ast.Node.Index, writer: *Writer) Writer.Error!std.zig.string_literal.Result
Parses the given node as a string literal.
std.zig.ZonGenSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn strLitSizeHint(tree: *const Ast, node: Ast.Node.Index) usize
Estimates the size of a string node without parsing it.
std.zig.ZonGenSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fmt(value: anytype, options: stringify.SerializeOptions) Formatter(@TypeOf(value))
Returns a formatter that formats the given value using stringify.
std.zonSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn Formatter(comptime T: type) type
Formats the given value using stringify.
std.zonSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn format(self: @This(), writer: *std.Io.Writer) std.Io.Writer.Error!void
std.zonSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zonSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zonSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zonSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
Errors encountered while parsing ZON. See `log` and `fatal` for reporting errors to the user.
std.zon.parseSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zon.parseSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fatal(self: *const Diagnostics, path: []const u8) noreturn
Log the failure with `std.log.err`, and then terminate the process with exit code 1.
std.zon.parseSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fmt(self: *const Diagnostics, path: []const u8) Formatter
Formats a human readable description of any errors.
std.zon.parseSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zon.parseSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn format(self: *const @This(), w: *std.Io.Writer) std.Io.Writer.Error!void
std.zon.parseSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn log(self: *const Diagnostics, path: []const u8) void
Log the failure with `std.log.err`.
std.zon.parseSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zon.parseSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fromSlice(T: type, options: Options) error
Parses the given slice as ZON, writing any errors to `options.diagnostics`.
std.zon.parseSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fromSliceNoAlloc(T: type, options: Options) error
Like `fromSlice` but the result type may not contain pointers, allowing it to outlive `options.arena`.
std.zon.parseSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fromZoir(T: type, options: FromZoirOptions) error
Like `fromSlice`, but operates on `Zoir` instead of ZON source.
std.zon.parseSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn fromZoirNoAlloc(T: type, options: FromZoirOptions) error
Like `fromSliceNoAlloc`, but operates on `Zoir` instead of ZON source.
std.zon.parseSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zon.parseSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zon.parseSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn updateFromSlice(T: type, value: *T, options: Options) error
Similar to `fromSlice`, but updates the existing contents of `value` in place.
std.zon.parseSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn updateFromSliceNoAlloc(T: type, value: *T, options: Options) error
Like `updateFromSlice` but the `T` may not contain pointers, allowing `value` to outlive `options.arena`.
std.zon.parseSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn updateFromZoir(T: type, value: *T, options: FromZoirOptions) error
Like `updateFromSlice`, but operates on `Zoir` instead of ZON source.
std.zon.parseSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn updateFromZoirNoAlloc(T: type, value: *T, options: FromZoirOptions) error
Like `updateFromSliceNoAlloc`, but operates on `Zoir` instead of ZON source.
std.zon.parseSource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn serialize(val: anytype, options: SerializeOptions, writer: *Writer) Writer.Error!void
Serialize the given value as ZON. It is asserted at comptime that `@TypeOf(val)` is not a recursive type.
std.zon.stringifySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn serializeArbitraryDepth(val: anytype, options: SerializeOptions, writer: *Writer) Serializer.Error!void
Like `serialize`, but recursive types are allowed.
std.zon.stringifySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
pub fn serializeMaxDepth(val: anytype, options: SerializeOptions, writer: *Writer, depth: usize) Serializer.DepthError!void
Like `serialize`, but recursive types are allowed.
std.zon.stringifySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.
std.zon.stringifySource: codeberg.org, ziglang.org. JSON record. This entry is a card. Help write this page.