Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(generators): Make scrub_ public #7940

Merged
merged 2 commits into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +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_(
scrub_(
_block: Block,
code: string,
_opt_thisOnly?: boolean,
Expand Down
1 change: 0 additions & 1 deletion generators/javascript/javascript_generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '';
Expand Down
1 change: 0 additions & 1 deletion generators/python/python_generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '';
Expand Down
Loading