Skip to documentation
SLOP

tiny.zen.renderAscii

Reference tiny.zen renderAscii

Defined in tiny.zen.

Parses a JSONL diagram and returns an owned ASCII result.

Called byCallstest sourcelib.zen.src.diagram.ascii.testtest: ASCII JSONL rendering owns exac...test sourcelib.zen.src.diagram.ascii.testtest: ASCII renderer renders boxes an...test sourcelib.zen.src.diagram.ascii.testtest: ASCII renderer renders point ru...tiny.zenrenderAsciiOwnedtiny.zenrenderAscii
Static calls · unresolved targets: 1 · external targets: 4.

Source

Source: lib/zen/src/diagram/ascii/render.zig:39

zig
/// Parses a JSONL diagram and returns an owned ASCII result.pub fn renderJsonl(    allocator: std.mem.Allocator,    jsonl: []const u8,    options: Options,) !Rendered {    var document_storage = try root.DocumentStorage.initExact(allocator, jsonl);    defer document_storage.deinit(allocator);    document_storage.activate();    const document = try root.parse(&document_storage, jsonl);    defer document_storage.reset();    return try renderOwned(allocator, document, options);}

Source: lib/zen/src/root.zig:81

zig
/// Parses JSONL and returns an owned ASCII render.pub const renderAscii = diagram.renderAscii;

Also reachable as

diagram.ascii.renderJsonl, diagram.renderAscii.

Audit

Definitions1
Public names3
Members0
Version26.7.0
Revisiondaab053ee433