(value: string | PythonCode)
| 18 | } |
| 19 | |
| 20 | function asString(value: string | PythonCode): string { |
| 21 | if (typeof value === "string") { |
| 22 | return value; |
| 23 | } |
| 24 | return value.toCode(); |
| 25 | } |
| 26 | |
| 27 | export class Variable implements PythonCode { |
| 28 | name: string; |