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

Method GetNodeKind

LuaParser/src/Ast/LuaSyntaxTree.cpp:397–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

395}
396
397LuaSyntaxNodeKind LuaSyntaxTree::GetNodeKind(std::size_t index) const {
398 if (!IsNode(index)) {
399 return LuaSyntaxNodeKind::None;
400 }
401 return _nodeOrTokens[index].Data.NodeKind;
402}
403
404LuaTokenKind LuaSyntaxTree::GetTokenKind(std::size_t index) const {
405 if (!IsToken(index)) {

Callers 1

GetSyntaxKindMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected