tree Do With Parent
fun treeDoWithParent( self: A_Phrase, aBlock: (A_Phrase, A_Phrase?) -> Unit, parentNode: A_Phrase?)
Content copied to clipboard
Visit the entire tree with the given consumer, children before parents. The block takes two arguments: the phrase and its parent.
Parameters
self
The current A_Phrase.
a Block
What to do with each descendant.
parent Node
This phrase's parent, or null.