Companion

object Companion

Functions

Link copied to clipboard
fun containsOnlyStatements(flat: List<A_Phrase>, resultType: A_Type): Boolean

Does the specified flatlist of phrases contain only statements?

Link copied to clipboard
fun treeDoWithParent(    self: A_Phrase,     aBlock: (A_Phrase, A_Phrase?) -> Unit,     parentNode: A_Phrase?)

Visit the entire tree with the given consumer, children before parents. The block takes two arguments: the phrase and its parent.