MCPcopy Index your code
hub / github.com/nodejs/node / writeIndent

Function writeIndent

test/fixtures/snapshot/typescript.js:128415–128426  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128413 reportPrivateInBaseOfClassExpression: ts.noop,
128414 };
128415 function writeIndent() {
128416 if (length > absoluteMaximumLength)
128417 return;
128418 if (lineStart) {
128419 var indentString = ts.getIndentString(indent);
128420 if (indentString) {
128421 length += indentString.length;
128422 displayParts.push(displayPart(indentString, ts.SymbolDisplayPartKind.space));
128423 }
128424 lineStart = false;
128425 }
128426 }
128427 function writeKind(text, kind) {
128428 if (length > absoluteMaximumLength)
128429 return;

Callers 2

writeKindFunction · 0.85
writeSymbolFunction · 0.85

Calls 2

displayPartFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected