tiny.pretty.writeWithState
Defined in tiny.pretty.
Source
Source: lib/pretty/core/src/render.zig:79
zig
pub fn writeWithState( writer: *std.Io.Writer, doc: Doc, options: LayoutOptions, state: WriteState,) WriteError!void { var renderer = Renderer{ .writer = writer, .width = options.width, .color = options.color, .col = state.column, }; try renderer.writeDoc(doc, state.indent, .broken, null);}Source: lib/pretty/core/src/root.zig:126
zig
pub const writeWithState = render.writeWithState;Audit
| Definitions | 1 |
|---|---|
| Public names | 1 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |