pushIndent
Push default indentation Doesn't actually write any indentation. Just primes the stream to be able to write the correct indentation if it needs to.
Function parameters
Parameters
- ais:*AutoIndentingStream
Type definitions in this namespace
Types
Functions in this namespace
Functions
Error sets in this namespace
Error Sets
Source
Implementation
pub fn pushIndent(ais: *AutoIndentingStream, indent_type: IndentType) !void {
try ais.indent_stack.append(.{ .indent_type = indent_type, .realized = false });
}