styleSendThen

fun styleSendThen(originalSendPhrase: A_Phrase?, transformedPhrase: A_Phrase, then: () -> Unit)

Apply the style for a single method send phrase, without considering its subphrases.

Parameters

originalSendPhrase

An optional send phrase that had been parsed from the source. If this is not a macro substitution, this will be null.

transformedPhrase

The end result of applying a macro to the originalSendPhrase, or if no macro was involved, the parsed send phrase.

then

What to do after styling.