(statement: lua.RepeatStatement)
| 500 | } |
| 501 | |
| 502 | public printRepeatStatement(statement: lua.RepeatStatement): SourceNode { |
| 503 | const chunks: SourceChunk[] = []; |
| 504 | |
| 505 | chunks.push(this.indent("repeat\n")); |
| 506 | |
| 507 | this.pushIndent(); |
| 508 | chunks.push(this.printBlock(statement.body)); |
| 509 | this.popIndent(); |
| 510 | |
| 511 | chunks.push(this.indent("until "), this.printExpression(statement.condition)); |
| 512 | |
| 513 | return this.concatNodes(...chunks); |
| 514 | } |
| 515 | |
| 516 | public printForStatement(statement: lua.ForStatement): SourceNode { |
| 517 | const ctrlVar = this.printExpression(statement.controlVariable); |
no test coverage detected