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

Method printBlock

src/LuaPrinter.ts:289–291  ·  view source on GitHub ↗
(block: lua.Block)

Source from the content-addressed store, hash-verified

287 }
288
289 protected printBlock(block: lua.Block): SourceNode {
290 return this.concatNodes(...this.printStatementArray(block.statements));
291 }
292
293 private statementMayRequireSemiColon(statement: lua.Statement): boolean {
294 // Types of statements that could create ambiguous syntax if followed by parenthesis

Callers 7

printIfStatementMethod · 0.95
printWhileStatementMethod · 0.95
printRepeatStatementMethod · 0.95
printForStatementMethod · 0.95
printForInStatementMethod · 0.95

Calls 2

concatNodesMethod · 0.95
printStatementArrayMethod · 0.95

Tested by

no test coverage detected