Refactor XML parser #82

Merged
thesabinelim merged 10 commits from xml-parser-refactor into master 2023-05-16 21:07:42 +08:00
Showing only changes of commit f2113417b0 - Show all commits

View File

@@ -3,8 +3,8 @@ local XMLNode = {
return {
tag = tag,
value = nil,
children = {},
attributes = {},
children = {},
addChild = function(self, child)
if self[child.tag] ~= nil then