append With Warnings To
fun appendWithWarningsTo(builder: StringBuilder, indent: Int, warningStyleChange: (Boolean) -> Unit)
Append a textual representation of this operand to the provided StringBuilder. If a style change is appropriate while building the string, invoke the warningStyleChange lambda with true to enable the warning style, and false to turn it off again.
Parameters
builder
The StringBuilder on which to describe this operand.
indent
How much additional indentation to add to successive lines.
warning Style Change
A lambda to invoke to turn the warning style on or off, with a mechanism specified (or ignored) by the caller.