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

Method GetStartCol

LuaParser/src/Ast/LuaSyntaxNode.cpp:29–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29std::size_t LuaSyntaxNode::GetStartCol(const LuaSyntaxTree &t) const {
30 return t.GetFile().GetColumn(t.GetStartOffset(_index));
31}
32
33std::size_t LuaSyntaxNode::GetEndLine(const LuaSyntaxTree &t) const {
34 return t.GetFile().GetLine(t.GetEndOffset(_index));

Callers 7

CompleteMissTokenMethod · 0.80
CheckRangeMethod · 0.80
AnalyzeMethod · 0.80
ResolveAlignGroupMethod · 0.80
AnalyzeIfStatementMethod · 0.80

Calls 3

GetColumnMethod · 0.80
GetFileMethod · 0.80
GetStartOffsetMethod · 0.80

Tested by

no test coverage detected