flattenStatementsInto

fun A_Phrase.flattenStatementsInto(accumulatedStatements: MutableList<A_Phrase>)

If this phrase is a sequence, take any statements within it that are also sequences, and flatten them all into one sequence, returning the List of statements. Handle first-of-sequence phrases correctly, allowing the resulting structure to be up to two layers deep.

Parameters

accumulatedStatements

The flattened list of my statements.