fn addAttr( self: *Wip, index: usize, attribute: Attribute, builder: *Builder, ) Allocator.Error!void
self: *Wip
index: usize
attribute: Attribute
builder: *Builder
2641 2642 2643 2644 2645 2646 2647 2648 2649
fn addAttr( self: *Wip, index: usize, attribute: Attribute, builder: *Builder, ) Allocator.Error!void { const map = try self.getOrPutMap(builder.gpa, index); try map.put(builder.gpa, attribute.getKind(), try builder.attr(attribute)); }