MCPcopy Index your code
hub / github.com/TypeScriptToLua/TypeScriptToLua / pushIndent

Method pushIndent

src/LuaPrinter.ts:265–267  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

263 }
264
265 protected pushIndent(): void {
266 this.currentIndent += " ";
267 }
268
269 protected popIndent(): void {
270 this.currentIndent = this.currentIndent.slice(4);

Callers 9

printDoStatementMethod · 0.95
printIfStatementMethod · 0.95
printWhileStatementMethod · 0.95
printRepeatStatementMethod · 0.95
printForStatementMethod · 0.95
printForInStatementMethod · 0.95
printExpressionListMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected