append To With Warnings
open fun appendToWithWarnings( instruction: L2Instruction, desiredTypes: Set<L2OperandType>, builder: StringBuilder, warningStyleChange: (Boolean) -> Unit)
Content copied to clipboard
Produce a sensible textual rendition of the specified L2Instruction.
Parameters
instruction
The L2Instruction.
desired Types
The L2OperandTypes of L2Operands to be included in generic renditions. Customized renditions may not honor these types.
builder
The StringBuilder to which the rendition should be written.
warning Style Change
A mechanism to turn on and off a warning style, which the caller may listen to, to track regions of the builder to highlight in its own warning style. This must be invoked in (true, false) pairs.