|
Lightweight 0.20260303.0
|
A pre-rendered text block plus its line count, ready to be packed into one or more output files by EmitChunked.
More...
#include <SplitFileWriter.hpp>
Public Attributes | |
| std::string | content |
| std::size_t | lineCount = 0 |
A pre-rendered text block plus its line count, ready to be packed into one or more output files by EmitChunked.
The block is treated as opaque — EmitChunked never splits a block in two. Callers compute lineCount once and reuse the same value across multiple passes, since counting newlines on every visit would be wasteful for large migrations.
Definition at line 23 of file SplitFileWriter.hpp.
| std::string Lightweight::CodeGen::CodeBlock::content |
Pre-rendered text of the block. Treated as opaque by EmitChunked — never split across files.
Definition at line 27 of file SplitFileWriter.hpp.
| std::size_t Lightweight::CodeGen::CodeBlock::lineCount = 0 |
Number of newlines in content, computed once by the caller and reused across packing passes.
Definition at line 31 of file SplitFileWriter.hpp.