Add info to JsDoc for blockToCode (#4490)

This commit is contained in:
Monica Kozbial
2020-12-02 15:27:48 -08:00
committed by GitHub
parent 520aa600a6
commit bbca82cffb

View File

@@ -159,6 +159,7 @@ Blockly.Generator.prototype.allNestedComments = function(block) {
/**
* Generate code for the specified block (and attached blocks).
* The generator should be initialized before calling this function.
* @param {Blockly.Block} block The block to generate code for.
* @param {boolean=} opt_thisOnly True to generate code for only this statement.
* @return {string|!Array} For statement blocks, the generated code.