structstd.zig.Zir.Inst.Param[src]

Trailing: inst: Index // for every body_len

Fields

name: NullTerminatedString

Null-terminated string index.

type: Type

Source Code

Source code
pub const Param = struct {
    /// Null-terminated string index.
    name: NullTerminatedString,
    type: Type,

    pub const Type = packed struct(u32) {
        /// The body contains the type of the parameter.
        body_len: u31,
        /// Whether the type is generic, i.e. refers to one or more previous parameters.
        is_generic: bool,
    };
}