| 3 | LineCol::LineCol(std::size_t line, std::size_t col) : Line(line), Col(col) {} |
| 4 | |
| 5 | void UnitChars::Increment() { |
| 6 | TotalLen += Unit; |
| 7 | CharsNum++; |
| 8 | } |
| 9 | |
| 10 | UnitChars::UnitChars(std::size_t totalLen, std::size_t charsNum, std::size_t unit) |
| 11 | : TotalLen(totalLen), CharsNum(charsNum), Unit(unit) { |