Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
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 standard library. Public Struct

FieldCall

Public Struct
std.zig.Zir.Inst.FieldCall
pub const FieldCall = struct

Stored inside extra, with trailing arguments according to args_len. Implicit 0. arg_0_start: u32, // always same as args_len

  1. arg_end: u32, // for each args_len arg_N_start is the same as arg_N-1_end

Fields

flags: Call.Flags

Note: Flags must come first so that unusedResultExpr can find it when it goes to modify them.

obj_ptr: Ref
field_name_start: NullTerminatedString

Offset into string_bytes.

File

zig/Zir.zig:3117
3117
3118
3119
3120
3121
3122
3123
3124
    pub const FieldCall = struct {
        // Note: Flags *must* come first so that unusedResultExpr
        // can find it when it goes to modify them.
        flags: Call.Flags,
        obj_ptr: Ref,
        /// Offset into `string_bytes`.
        field_name_start: NullTerminatedString,
    }