MCPcopy Create free account
hub / github.com/glideapps/quicktype / flattenCurrentLine

Function flattenCurrentLine

src/Source.ts:182–186  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

180 }
181
182 function flattenCurrentLine(): string {
183 const str = currentLine.join("");
184 currentLine = [str];
185 return str;
186 }
187
188 function currentLocation(): Location {
189 return { line: lines.length, column: flattenCurrentLine().length };

Callers 2

currentLocationFunction · 0.85
finishLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…