pub const Unwrapped = struct src_node: Ast.Node.Indexsrc_line: u32src_column: u32kind: Kindname: NullTerminatedStringAlways .empty for kind of unnamed_test, .@"comptime"
is_pub: boolAlways false for kind of unnamed_test, .@"test", .decltest, .@"comptime".
is_threadlocal: boolAlways false for kind != .@"var".
linkage: LinkageAlways .normal for kind != .@"const" and kind != .@"var".
lib_name: NullTerminatedStringAlways .empty for linkage != .@"extern".
type_body: ?[]const Inst.IndexAlways populated for linkage == .@"extern".
align_body: ?[]const Inst.Indexlinksection_body: ?[]const Inst.Indexaddrspace_body: ?[]const Inst.Indexvalue_body: ?[]const Inst.IndexAlways populated for linkage != .@"extern".
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789 pub const Unwrapped = struct {
pub const Kind = enum {
unnamed_test,
@"test",
decltest,
@"comptime",
@"const",
@"var",
};
pub const Linkage = enum {
normal,
@"extern",
@"export",
};
src_node: Ast.Node.Index,
src_line: u32,
src_column: u32,
kind: Kind,
/// Always `.empty` for `kind` of `unnamed_test`, `.@"comptime"`
name: NullTerminatedString,
/// Always `false` for `kind` of `unnamed_test`, `.@"test"`, `.decltest`, `.@"comptime"`.
is_pub: bool,
/// Always `false` for `kind != .@"var"`.
is_threadlocal: bool,
/// Always `.normal` for `kind != .@"const" and kind != .@"var"`.
linkage: Linkage,
/// Always `.empty` for `linkage != .@"extern"`.
lib_name: NullTerminatedString,
/// Always populated for `linkage == .@"extern".
type_body: ?[]const Inst.Index,
align_body: ?[]const Inst.Index,
linksection_body: ?[]const Inst.Index,
addrspace_body: ?[]const Inst.Index,
/// Always populated for `linkage != .@"extern".
value_body: ?[]const Inst.Index,
}