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

Method GetStartLine

LuaParser/src/Ast/LuaSyntaxNode.cpp:25–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25std::size_t LuaSyntaxNode::GetStartLine(const LuaSyntaxTree &t) const {
26 return t.GetFile().GetLine(t.GetStartOffset(_index));
27}
28
29std::size_t LuaSyntaxNode::GetStartCol(const LuaSyntaxTree &t) const {
30 return t.GetFile().GetColumn(t.GetStartOffset(_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

Calls 3

GetLineMethod · 0.80
GetFileMethod · 0.80
GetStartOffsetMethod · 0.80

Tested by

no test coverage detected