whileStmt

fun LanguageFrontend<*, *>.whileStmt(needsScope: Boolean = true, init: WhileStatement.() -> Unit): WhileStatement

Creates a new WhileStatement in the Fluent Node DSL and adds it to the StatementHolder.statements of the nearest enclosing StatementHolder. The init block can be used to create further sub-nodes as well as configuring the created node itself.