forStmt
fun LanguageFrontend<*, *>.forStmt(initializer: DeclarationStatement, condition: Expression, iteration: Statement, elseStmt: Statement? = null, init: Block.() -> Unit): ForStatement
Creates a new ForStatement 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.