mirror of
https://github.com/google/blockly.git
synced 2026-01-10 18:37:09 +01:00
feat: make generator quoting methods public (#7392)
* feat: make quoting methods public * feat: add quote and multilineQuote methods * fix: update code generators to use new methods * chore: remove aliases * chore: revert changes to generators
This commit is contained in:
@@ -170,10 +170,6 @@ export class CodeGenerator {
|
||||
return codeString;
|
||||
}
|
||||
|
||||
// The following are some helpful functions which can be used by multiple
|
||||
|
||||
// languages.
|
||||
|
||||
/**
|
||||
* Prepend a common prefix onto each line of code.
|
||||
* Intended for indenting code or adding comment markers.
|
||||
|
||||
Reference in New Issue
Block a user