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

Method GetEndCol

LuaParser/src/Ast/LuaSyntaxNode.cpp:37–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37std::size_t LuaSyntaxNode::GetEndCol(const LuaSyntaxTree &t) const {
38 return t.GetFile().GetColumn(t.GetEndOffset(_index));
39}
40
41std::string_view LuaSyntaxNode::GetText(const LuaSyntaxTree &t) const {
42 return t.GetFile().Slice(GetTextRange(t));

Callers 5

CompleteMissTokenMethod · 0.80
AnalyzeMethod · 0.80
ResolveAlignGroupMethod · 0.80
CanBreakAllMethod · 0.80
CanCollapseLinesMethod · 0.80

Calls 3

GetColumnMethod · 0.80
GetFileMethod · 0.80
GetEndOffsetMethod · 0.45

Tested by

no test coverage detected