diff --git a/core/generator.ts b/core/generator.ts index d94597fc127..c7c26f15f40 100644 --- a/core/generator.ts +++ b/core/generator.ts @@ -578,11 +578,7 @@ export class CodeGenerator { * @param _opt_thisOnly True to generate code for only this statement. * @returns Code with comments and subsequent blocks added. */ - protected scrub_( - _block: Block, - code: string, - _opt_thisOnly?: boolean, - ): string { + scrub_(_block: Block, code: string, _opt_thisOnly?: boolean): string { // Optionally override return code; } diff --git a/generators/javascript/javascript_generator.ts b/generators/javascript/javascript_generator.ts index 02602e71fa4..592563f919d 100644 --- a/generators/javascript/javascript_generator.ts +++ b/generators/javascript/javascript_generator.ts @@ -251,7 +251,6 @@ export class JavascriptGenerator extends CodeGenerator { * @param code The JavaScript code created for this block. * @param thisOnly True to generate code for only this statement. * @returns JavaScript code with comments and subsequent blocks added. - * @protected */ scrub_(block: Block, code: string, thisOnly = false): string { let commentCode = ''; diff --git a/generators/python/python_generator.ts b/generators/python/python_generator.ts index 0700318c2d9..bf7b87496ee 100644 --- a/generators/python/python_generator.ts +++ b/generators/python/python_generator.ts @@ -276,7 +276,6 @@ export class PythonGenerator extends CodeGenerator { * @param code The Python code created for this block. * @param thisOnly True to generate code for only this statement. * @returns Python code with comments and subsequent blocks added. - */ scrub_(block: Block, code: string, thisOnly = false): string { let commentCode = '';