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. Private Union

Operand

Private Union
std.debug.Dwarf.expression.StackMachine.Operand
const Operand = union(enum)

Fields

generic: addr_type
register: u8
type_size: u8
branch_offset: i16
base_register: struct { base_register: u8, offset: i64, }
composite_location: struct { size: u64, offset: i64, }
block: []const u8
register_type: struct { register: u8, type_offset: addr_type, }
const_type: struct { type_offset: addr_type, value_bytes: []const u8, }
deref_type: struct { size: u8, type_offset: addr_type, }

File

debug/Dwarf/expression.zig:93
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
        const Operand = union(enum) {
            generic: addr_type,
            register: u8,
            type_size: u8,
            branch_offset: i16,
            base_register: struct {
                base_register: u8,
                offset: i64,
            },
            composite_location: struct {
                size: u64,
                offset: i64,
            },
            block: []const u8,
            register_type: struct {
                register: u8,
                type_offset: addr_type,
            },
            const_type: struct {
                type_offset: addr_type,
                value_bytes: []const u8,
            },
            deref_type: struct {
                size: u8,
                type_offset: addr_type,
            },
        }