Blockly.gdScript.statementToCode = function(a, b) {
var c = a.getInputTargetBlock(b)
if (!c) return this.prefixLines("pass", this.INDENT)
if (!c && !a.getInput(b)) throw ReferenceError(`Input "${b}" doesn't exist on "${a.type}"`)
if (!a.getInput(b)) throw ReferenceError(`Input "${b}" doesn't exist on "${a.type}"`)
a = this.blockToCode(c)
if (typeof a !== "string") throw TypeError("Expecting code from statement block: " + (c && c.type))
a && (a = this.prefixLines(a, this.INDENT))
return a
}