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

Method GetEndLine

LuaParser/src/Ast/LuaSyntaxNode.cpp:33–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33std::size_t LuaSyntaxNode::GetEndLine(const LuaSyntaxTree &t) const {
34 return t.GetFile().GetLine(t.GetEndOffset(_index));
35}
36
37std::size_t LuaSyntaxNode::GetEndCol(const LuaSyntaxTree &t) const {
38 return t.GetFile().GetColumn(t.GetEndOffset(_index));

Callers 15

BasicResolveMethod · 0.80
CompleteMissTokenMethod · 0.80
FormatLineMethod · 0.80
GetFormatResultMethod · 0.80
CheckRangeMethod · 0.80
DoResolveMethod · 0.80
IsNewLineMethod · 0.80
AnalyzeMethod · 0.80
AnalyzeMethod · 0.80
AnalyzeIfStatementMethod · 0.80

Calls 3

GetLineMethod · 0.80
GetFileMethod · 0.80
GetEndOffsetMethod · 0.45

Tested by

no test coverage detected