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 standard library.
std › zig › llvm › ir › ModuleBlock › MetadataBlock › Subprogram › ops Public Constant ops Doc Source Public Constant std.zig.llvm.ir.ModuleBlock.MetadataBlock.Subprogram.ops
pub const ops = [_ ]AbbrevOp File zig/llvm/ir.zig: 1679
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701 pub const ops = [_ ]AbbrevOp {
.{ .literal = @backingInt (ModuleBlock .MetadataBlock .Code .SUBPROGRAM ) },
.{ .literal = 0b111 }, // is distinct | has sp flags | has flags
MetadataAbbrev , // scope
MetadataAbbrev , // name
MetadataAbbrev , // linkage name
MetadataAbbrev , // file
LineAbbrev , // line
MetadataAbbrev , // type
LineAbbrev , // scope line
.{ .literal = 0 }, // containing type
.{ .fixed = 32 }, // sp flags
.{ .literal = 0 }, // virtual index
.{ .fixed = 32 }, // flags
MetadataAbbrev , // compile unit
.{ .literal = 0 }, // template params
.{ .literal = 0 }, // declaration
.{ .literal = 0 }, // retained nodes
.{ .literal = 0 }, // this adjustment
.{ .literal = 0 }, // thrown types
.{ .literal = 0 }, // annotations
.{ .literal = 0 }, // target function name
}