DoxigAlpha

forcePushIndent

Forces an indentation level to be realized.

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 forcePushIndent(ais: *AutoIndentingStream, indent_type: IndentType) !void {
    try ais.indent_stack.append(.{ .indent_type = indent_type, .realized = true });
    ais.indent_count += 1;
}