(prefix: string, contents: (self: this) => this, suffix = "")
| 179 | } |
| 180 | |
| 181 | block(prefix: string, contents: (self: this) => this, suffix = ""): this { |
| 182 | this.line(`${prefix} {`) |
| 183 | this.indent() |
| 184 | contents(this) |
| 185 | this.dedent() |
| 186 | return this.line(`}${suffix}`) |
| 187 | } |
| 188 | |
| 189 | return(expression: CoercibleValue = ""): this { |
| 190 | return this.line(`return ${expression}`) |