(self, cond, then_stmts, else_stmts)
| 348 | """.strip() |
| 349 | |
| 350 | def BuildConditionWithElseStmts(self, cond, then_stmts, else_stmts): |
| 351 | return f""" |
| 352 | if({cond}) |
| 353 | {' '.join(then_stmts)} |
| 354 | {'else() ' + ' '.join(else_stmts)} |
| 355 | endif() |
| 356 | """.strip() |
| 357 | |
| 358 | def BuildConditionWithElseCond(self, cond, then_stmts, else_cond): |
| 359 | return f""" |