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

Method GetNextSibling

LuaParser/src/Ast/LuaSyntaxTree.cpp:272–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270}
271
272std::size_t LuaSyntaxTree::GetNextSibling(std::size_t index) const {
273 if (index < _nodeOrTokens.size()) {
274 return _nodeOrTokens[index].NextSibling;
275 }
276 return 0;
277}
278
279std::size_t LuaSyntaxTree::GetPrevSibling(std::size_t index) const {
280 if (index < _nodeOrTokens.size()) {

Callers 6

CheckInBodyMethod · 0.45
AnalyzeMethod · 0.45
AnalyzeIfStatementMethod · 0.45
AnalyzeDocFormatMethod · 0.45
ComplexAnalyzeMethod · 0.45
AnalyzeTableExprMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected