case

fun LanguageFrontend<*, *>.case(caseExpression: Expression? = null): CaseStatement

Creates a new CaseStatement in the Fluent Node DSL and adds it to the nearest enclosing Holder, but only if it is an StatementHolder.