Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
443
LuaSyntaxNode LuaSyntaxTree::GetRootNode() const {
444
return LuaSyntaxNode(1);
445
}
446
447
LuaSyntaxNode LuaSyntaxTree::GetTokenBeforeOffset(std::size_t offset) const {
448
if (_tokens.empty()) {
Callers
4
Analyze
Method · 0.80
BasicStyleCheck
Method · 0.80
GetFormatResult
Method · 0.80
GetFormatResult
Method · 0.80
Calls
1
LuaSyntaxNode
Class · 0.85
Tested by
no test coverage detected