(target: Text, source: Text, cont_indent: str)
| 151 | |
| 152 | |
| 153 | def _append_with_cont_indent(target: Text, source: Text, cont_indent: str) -> None: |
| 154 | lines = source.split("\n", allow_blank=True) |
| 155 | for i, line in enumerate(lines): |
| 156 | if i > 0: |
| 157 | target.append("\n" + cont_indent) |
| 158 | target.append_text(line) |
| 159 | |
| 160 | |
| 161 | def _render_code_as_text(node: Any) -> Text: |