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

Method GetRootNode

LuaParser/src/Ast/LuaSyntaxTree.cpp:443–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

441}
442
443LuaSyntaxNode LuaSyntaxTree::GetRootNode() const {
444 return LuaSyntaxNode(1);
445}
446
447LuaSyntaxNode LuaSyntaxTree::GetTokenBeforeOffset(std::size_t offset) const {
448 if (_tokens.empty()) {

Callers 4

AnalyzeMethod · 0.80
BasicStyleCheckMethod · 0.80
GetFormatResultMethod · 0.80
GetFormatResultMethod · 0.80

Calls 1

LuaSyntaxNodeClass · 0.85

Tested by

no test coverage detected