expandAll

fun expandAll()

Expands all unexpanded function calls present in context, and empties queued function calls in context. This is performed on a copy of the context's execution queue to avoid ConcurrentModificationException. Hence, if a function call is added during the expansion, expandAll must be called again.