MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / Increment

Method Increment

CodeFormatServer/src/Lib/LineIndex/LineTypes.cpp:5–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

PushMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected