Skip to content

frontend / entities/blocks/textFileBlocks / initTextFileBlocks

Function: initTextFileBlocks() ​

initTextFileBlocks(generator, mode): void

Defined in: entities/blocks/textFileBlocks.ts:19

Registers Python generators for text file blocks on given generator instance.

Parameters ​

generator ​

PythonGenerator

Python generator which will get new block handlers.

mode ​

"display" | "execution"

Current mode of generator. Not used right now.

Returns ​

void