Add text to the output, but with no line terminator. Args: text: string, Text to output.
(self, text)
| 208 | self.value.extend([" " * self.dent, text, "\n"]) |
| 209 | |
| 210 | def emitBegin(self, text): |
| 211 | """Add text to the output, but with no line terminator. |
| 212 | |
| 213 | Args: |
| 214 | text: string, Text to output. |
| 215 | """ |
| 216 | self.value.extend([" " * self.dent, text]) |
| 217 | |
| 218 | def emitEnd(self, text, comment): |
| 219 | """Add text and comment to the output with line terminator. |