mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-22 04:34:44 +00:00
AXNode: remove unused mock JSON lifecycle methods
Simplifies TextCaptureWriter by removing unused methods, ensuring future changes to writeName will fail at build time if new methods are required.
This commit is contained in:
@@ -765,11 +765,6 @@ pub fn getName(self: AXNode, page: *Page, allocator: std.mem.Allocator) !?[]cons
|
|||||||
// Mock JSON Stringifier lifecycle methods
|
// Mock JSON Stringifier lifecycle methods
|
||||||
pub fn beginWriteRaw(_: @This()) !void {}
|
pub fn beginWriteRaw(_: @This()) !void {}
|
||||||
pub fn endWriteRaw(_: @This()) void {}
|
pub fn endWriteRaw(_: @This()) void {}
|
||||||
pub fn objectField(_: @This(), _: []const u8) !void {}
|
|
||||||
pub fn beginObject(_: @This()) !void {}
|
|
||||||
pub fn endObject(_: @This()) !void {}
|
|
||||||
pub fn beginArray(_: @This()) !void {}
|
|
||||||
pub fn endArray(_: @This()) !void {}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const w = TextCaptureWriter{ .aw = &aw, .writer = &aw.writer };
|
const w = TextCaptureWriter{ .aw = &aw, .writer = &aw.writer };
|
||||||
|
|||||||
Reference in New Issue
Block a user