printIndented(_:)

Indents, writes the given strings to the printer, and then outdents.

CodePrinter.swift:162
mutating func printIndented(_ text: String...)

Parameters

text

A variable-length list of strings to be printed.

Newlines within the strings are honored and indentention is applied.

The addNewlines value from initializing the printer controls if newlines are appended after each string.