@ enum type
This commit is contained in:
@@ -231,6 +231,7 @@ pub const EnumDecl = struct {
|
||||
variant_types: []const ?*Node = &.{}, // null entries = no payload; empty = payload-less enum
|
||||
is_flags: bool = false,
|
||||
variant_values: []const ?*Node = &.{}, // explicit value per variant (null = auto), empty = all auto
|
||||
backing_type: ?*Node = null, // optional backing type: enum u8 { ... }
|
||||
};
|
||||
|
||||
pub const UnionDecl = struct {
|
||||
|
||||
Reference in New Issue
Block a user