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

Method writeString

src/codewriter.ts:55–66  ·  view source on GitHub ↗
(data: string)

Source from the content-addressed store, hash-verified

53 }
54
55 public writeString(data: string): void {
56 this.endOfStatement = false;
57 if (this.pendingIntent) {
58 this.parts.push(' '.repeat(this.intent));
59 this.pendingIntent = false;
60 }
61
62 this.parts.push(data);
63 if (data) {
64 this.newLine = false;
65 }
66 }
67
68 public writeStringNewLine(data?: string): void {
69 if (data) {

Callers 15

EndBlockMethod · 0.95
BeginBlockNoIntentMethod · 0.95
EndBlockNoIntentMethod · 0.95
writeStringNewLineMethod · 0.95
declareMethod · 0.80
processTryStatementMethod · 0.80
processThrowStatementMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected