Function: toPython()
function toPython(block, generator): [string, Order];
Defined in: plugins/field-multilineinput/src/blocks/textMultiline.ts:137
Python block generator function.
Parameters
| Parameter | Type | Description |
|---|---|---|
block | Block | The Block instance to generate code for. |
generator | PythonGenerator | The PythonGenerator calling the function. |
Returns
[string, Order]
A tuple containing the code string and precedence.