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

Method GetEndOffset

LuaParser/src/Types/TextRange.cpp:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}
11
12std::size_t TextRange::GetEndOffset() const {
13 if (Length == 0) {
14 return StartOffset;
15 }
16 return StartOffset + Length - 1;
17}

Callers 14

DiagnosticInspectionFunction · 0.45
DiagnosticToJsonFunction · 0.45
MakeDiagnosticInfoMethod · 0.45
MakeDiagnosticInfoMethod · 0.45
BasicResolveMethod · 0.45
ParseMethod · 0.45
ProcessSpaceMethod · 0.45
ResolveAlignGroupMethod · 0.45
DiagnosticMethod · 0.45
SliceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected