MCPcopy
hub / github.com/midrender/revideo / lineCount

Method lineCount

packages/2d/src/lib/components/CodeBlock.ts:123–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121
122 @computed()
123 public lineCount(): number {
124 const progress = this.codeProgress();
125 if (progress !== null) {
126 return Math.round(
127 map(this.currentLineCount, this.newLineCount, progress),
128 );
129 }
130
131 return this.getLineCountOfTokenArray(this.parsed());
132 }
133
134 @computed()
135 protected parsed() {

Callers

nothing calls this directly

Calls 3

parsedMethod · 0.95
mapFunction · 0.90

Tested by

no test coverage detected