(endLine)
| 37 | }; |
| 38 | |
| 39 | const pushChunk = (endLine) => { |
| 40 | const chunkContent = currentChunkLines.join('\n'); |
| 41 | chunks.push({ |
| 42 | chunkContent, |
| 43 | chunkType: currentEvalType, |
| 44 | chunkId: newChunkId(chunkContent), |
| 45 | evalFlags, |
| 46 | startLine: currentChunkStartLine, |
| 47 | endLine, |
| 48 | }); |
| 49 | }; |
| 50 | |
| 51 | for (const [i, line] of iomdLines.entries()) { |
| 52 | const lineNum = i + 1; // uses 1-based indexing |
no test coverage detected