MCPcopy Index your code
hub / github.com/ASDAlexander77/TypeScript2Cxx / writeStringNewLine

Method writeStringNewLine

src/codewriter.ts:68–78  ·  view source on GitHub ↗
(data?: string)

Source from the content-addressed store, hash-verified

66 }
67
68 public writeStringNewLine(data?: string): void {
69 if (data) {
70 this.writeString(data);
71 }
72
73 this.parts.push('\n');
74 this.newLine = true;
75 if (this.intent > 0) {
76 this.pendingIntent = true;
77 }
78 }
79
80 public cancelNewLine() {
81 if (this.newLine) {

Callers 15

BeginBlockMethod · 0.95
EndBlockMethod · 0.95
EndOfStatementMethod · 0.95
processFileMethod · 0.80
processTryStatementMethod · 0.80
processIfStatementMethod · 0.80
processDoStatementMethod · 0.80
processWhileStatementMethod · 0.80
processForStatementMethod · 0.80

Calls 1

writeStringMethod · 0.95

Tested by

no test coverage detected