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

Trailing:

  1. captures_len: u32, // if has_captures_len
  2. decls_len: u32, // if has_decls_len
  3. capture: Capture, // for every captures_len
  4. capture_name: NullTerminatedString // for every captures_len
  5. decl: Index, // for every decls_len; points to a declaration instruction

Fields

src_line: u32
src_node: Ast.Node.Index

This node provides a new absolute baseline node for all instructions within this struct.

Source Code

Source code
pub const OpaqueDecl = struct {
    src_line: u32,
    /// This node provides a new absolute baseline node for all instructions within this struct.
    src_node: Ast.Node.Index,

    pub const Small = packed struct {
        has_captures_len: bool,
        has_decls_len: bool,
        name_strategy: NameStrategy,
        _: u12 = undefined,
    };
}