Skip to content

frontend / shared/ui/BlocklyCanvas / GeneratedCode

Interface: GeneratedCode ​

Defined in: shared/ui/BlocklyCanvas.tsx:21

Code which is generated from current workspace, in two variants.

toLaunch is code which runs in Python sandbox; toShow is read-only preview code for user. They can be different if execution generator adds some instrumentation and patches (for example stop-signal checks).

Properties ​

toLaunch ​

toLaunch: string

Defined in: shared/ui/BlocklyCanvas.tsx:22


toShow ​

toShow: string

Defined in: shared/ui/BlocklyCanvas.tsx:23