()
| 128 | } |
| 129 | |
| 130 | toCode(): string { |
| 131 | const right = asString(this.value); |
| 132 | if (right.includes("\n")) { |
| 133 | return `${this.name} = (\n${indent(right)}\n)`; |
| 134 | } |
| 135 | return `${this.name} = ${right}`; |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | export class FunctionArg implements PythonCode { |