childrenMap

fun A_Phrase.childrenMap(transformer: (A_Phrase) -> A_Phrase)

Perform the given transformation for each child phrase of this phrase, writing the result of the transformation back into this phrase. This phrase must be mutable.

Parameters

transformer

How to transform each child phrase.