refactor: correctness fixes, API modernization, and cleanup

This commit is contained in:
2026-04-13 01:20:52 +02:00
parent 62e64182de
commit fc7060e0ed
12 changed files with 166 additions and 223 deletions
+2
View File
@@ -93,6 +93,7 @@ function Node:index_of(target)
return search(self)
end
---@async
---@param session dap.Session
function Node:expand_all(session)
if not self:is_expandable() then
@@ -139,6 +140,7 @@ end
function Node:is_c_pointer()
return self:is_c_lang()
and self:is_container()
and self.item.type ~= nil
and self.item.type:match(
"%*%s*[const%s]*[volatile%s]*[restrict%s]*$"
)