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 Function
pubfnfind(self: *Self, code: u16) !Symbol {
// try to find in lookup tableconstidx = code & lookup_mask;
constsym = self.lookup[idx];
if (sym.code_bits != 0) returnsym;
// if not use linked list of symbols with same prefixreturnself.findLinked(code, sym.value);
}
Finds symbol for lookup table code.