Add additional predefined attribute infos
This commit is contained in:
parent
75d023cfe1
commit
9af766e495
3 changed files with 317 additions and 12 deletions
|
|
@ -675,7 +675,13 @@ pub const ConstantPoolInfo = union(ConstantPoolInfo.Tag) {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn indentedFormat(self: *const ConstantPoolInfo, w: *std.Io.Writer, depth: usize, indent: u8, constant_pool: []const ?ConstantPoolInfo) std.Io.Writer.Error!void {
|
||||
pub fn indentedFormat(
|
||||
self: *const ConstantPoolInfo,
|
||||
w: *std.Io.Writer,
|
||||
depth: usize,
|
||||
indent: u8,
|
||||
constant_pool: []const ?ConstantPoolInfo,
|
||||
) std.Io.Writer.Error!void {
|
||||
try w.splatByteAll(' ', depth * indent);
|
||||
try w.print("constant_value_type: {s}\n", .{ @tagName(self.*) });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue