-- Decompiled using luadec 2.0 standard by sztupy (http://luadec51.luaforge.net) -- Command line was: -d C:\Downloads\luadec51_2.0_win32_bin\lua\model\html\HTMLDocument.luac ---------------------------------------------- 1 GETGLOBAL 0 0 SET_CTR(Tpend) = 0 next bool: 0 locals(0): vpend(0): tpend(1): 0{require} (...) ---------------------------------------------- 2 LOADK 1 1 SET_CTR(Tpend) = 1 next bool: 0 locals(0): vpend(0): tpend(2): 0{require} 1{"model.writers.DocumentWriter"} (...) ---------------------------------------------- 3 CALL 0 2 2 SET_CTR(Tpend) = 0 next bool: 0 locals(0): vpend(0): tpend(1): 0{require("model.writers.DocumentWriter")} (...) ---------------------------------------------- 4 GETGLOBAL 1 0 SET_CTR(Tpend) = 0 next bool: 0 locals(1): 0{l_0_0} vpend(0): tpend(1): 1{require} (...) local l_0_0 = require("model.writers.DocumentWriter") ---------------------------------------------- 5 LOADK 2 2 SET_CTR(Tpend) = 1 next bool: 0 locals(1): 0{l_0_0} vpend(0): tpend(2): 1{require} 2{"model.parsers.HTMLTokens"} (...) local l_0_0 = require("model.writers.DocumentWriter") ---------------------------------------------- 6 CALL 1 2 2 SET_CTR(Tpend) = 0 next bool: 0 locals(1): 0{l_0_0} vpend(0): tpend(1): 1{require("model.parsers.HTMLTokens")} (...) local l_0_0 = require("model.writers.DocumentWriter") ---------------------------------------------- 7 GETGLOBAL 2 0 SET_CTR(Tpend) = 0 next bool: 0 locals(2): 0{l_0_0} 1{l_0_1} vpend(0): tpend(1): 2{require} (...) local l_0_0 = require("model.writers.DocumentWriter") local l_0_1 = require("model.parsers.HTMLTokens") ---------------------------------------------- 8 LOADK 3 3 SET_CTR(Tpend) = 1 next bool: 0 locals(2): 0{l_0_0} 1{l_0_1} vpend(0): tpend(2): 2{require} 3{"model.html.HTMLNode"} (...) local l_0_0 = require("model.writers.DocumentWriter") local l_0_1 = require("model.parsers.HTMLTokens") ---------------------------------------------- 9 CALL 2 2 2 SET_CTR(Tpend) = 0 next bool: 0 locals(2): 0{l_0_0} 1{l_0_1} vpend(0): tpend(1): 2{require("model.html.HTMLNode")} (...) local l_0_0 = require("model.writers.DocumentWriter") local l_0_1 = require("model.parsers.HTMLTokens") ---------------------------------------------- 10 GETGLOBAL 3 0 SET_CTR(Tpend) = 0 next bool: 0 locals(3): 0{l_0_0} 1{l_0_1} 2{l_0_2} vpend(0): tpend(1): 3{require} (...) local l_0_0 = require("model.writers.DocumentWriter") local l_0_1 = require("model.parsers.HTMLTokens") local l_0_2 = require("model.html.HTMLNode") ---------------------------------------------- 11 LOADK 4 4 SET_CTR(Tpend) = 1 next bool: 0 locals(3): 0{l_0_0} 1{l_0_1} 2{l_0_2} vpend(0): tpend(2): 3{require} 4{"model.source.DocumentSearch"} (...) local l_0_0 = require("model.writers.DocumentWriter") local l_0_1 = require("model.parsers.HTMLTokens") local l_0_2 = require("model.html.HTMLNode") ---------------------------------------------- 12 CALL 3 2 2 SET_CTR(Tpend) = 0 next bool: 0 locals(3): 0{l_0_0} 1{l_0_1} 2{l_0_2} vpend(0): tpend(1): 3{require("model.source.DocumentSearch")} (...) local l_0_0 = require("model.writers.DocumentWriter") local l_0_1 = require("model.parsers.HTMLTokens") local l_0_2 = require("model.html.HTMLNode") ---------------------------------------------- 13 GETGLOBAL 4 0 SET_CTR(Tpend) = 0 next bool: 0 locals(4): 0{l_0_0} 1{l_0_1} 2{l_0_2} 3{l_0_3} vpend(0): tpend(1): 4{require} (...) local l_0_0 = require("model.writers.DocumentWriter") local l_0_1 = require("model.parsers.HTMLTokens") local l_0_2 = require("model.html.HTMLNode") local l_0_3 = require("model.source.DocumentSearch") ---------------------------------------------- 14 LOADK 5 5 SET_CTR(Tpend) = 1 next bool: 0 locals(4): 0{l_0_0} 1{l_0_1} 2{l_0_2} 3{l_0_3} vpend(0): tpend(2): 4{require} 5{"model.source.TextNode"} (...) local l_0_0 = require("model.writers.DocumentWriter") local l_0_1 = require("model.parsers.HTMLTokens") local l_0_2 = require("model.html.HTMLNode") local l_0_3 = require("model.source.DocumentSearch") ---------------------------------------------- 15 CALL 4 2 2 SET_CTR(Tpend) = 0 next bool: 0 locals(4): 0{l_0_0} 1{l_0_1} 2{l_0_2} 3{l_0_3} vpend(0): tpend(1): 4{require("model.source.TextNode")} (...) local l_0_0 = require("model.writers.DocumentWriter") local l_0_1 = require("model.parsers.HTMLTokens") local l_0_2 = require("model.html.HTMLNode") local l_0_3 = require("model.source.DocumentSearch") ---------------------------------------------- 16 NEWTABLE 5 0 0 SET_CTR(Tpend) = 0 next bool: 0 locals(5): 0{l_0_0} 1{l_0_1} 2{l_0_2} 3{l_0_3} 4{l_0_4} vpend(0): tpend(1): 5{{}} (...) local l_0_0 = require("model.writers.DocumentWriter") local l_0_1 = require("model.parsers.HTMLTokens") local l_0_2 = require("model.html.HTMLNode") local l_0_3 = require("model.source.DocumentSearch") local l_0_4 = require("model.source.TextNode") ---------------------------------------------- 17 SETTABLE 5 262 263 SET_CTR(Tpend) = 0 next bool: 0 locals(6): 0{l_0_0} 1{l_0_1} 2{l_0_2} 3{l_0_3} 4{l_0_4} 5{l_0_5} vpend(1): -1{l_0_5.type="html"} tpend(0): (...) local l_0_0 = require("model.writers.DocumentWriter") local l_0_1 = require("model.parsers.HTMLTokens") local l_0_2 = require("model.html.HTMLNode") local l_0_3 = require("model.source.DocumentSearch") local l_0_4 = require("model.source.TextNode") local l_0_5 = {} ---------------------------------------------- 18 SETTABLE 5 264 265 SET_CTR(Tpend) = 0 next bool: 0 locals(6): 0{l_0_0} 1{l_0_1} 2{l_0_2} 3{l_0_3} 4{l_0_4} 5{l_0_5} vpend(1): -1{l_0_5.originalEncoding="utf-8"} tpend(0): (...) local l_0_0 = require("model.writers.DocumentWriter") local l_0_1 = require("model.parsers.HTMLTokens") local l_0_2 = require("model.html.HTMLNode") local l_0_3 = require("model.source.DocumentSearch") local l_0_4 = require("model.source.TextNode") local l_0_5 = {} l_0_5.type = "html" ---------------------------------------------- 19 SETTABLE 5 266 267 SET_CTR(Tpend) = 0 next bool: 0 locals(6): 0{l_0_0} 1{l_0_1} 2{l_0_2} 3{l_0_3} 4{l_0_4} 5{l_0_5} vpend(1): -1{l_0_5.BOM=""} tpend(0): (...) local l_0_0 = require("model.writers.DocumentWriter") local l_0_1 = require("model.parsers.HTMLTokens") local l_0_2 = require("model.html.HTMLNode") local l_0_3 = require("model.source.DocumentSearch") local l_0_4 = require("model.source.TextNode") local l_0_5 = {} l_0_5.type = "html" l_0_5.originalEncoding = "utf-8" ---------------------------------------------- 20 SETTABLE 5 268 267 SET_CTR(Tpend) = 0 next bool: 0 locals(6): 0{l_0_0} 1{l_0_1} 2{l_0_2} 3{l_0_3} 4{l_0_4} 5{l_0_5} vpend(1): -1{l_0_5.filePath=""} tpend(0): (...) local l_0_0 = require("model.writers.DocumentWriter") local l_0_1 = require("model.parsers.HTMLTokens") local l_0_2 = require("model.html.HTMLNode") local l_0_3 = require("model.source.DocumentSearch") local l_0_4 = require("model.source.TextNode") local l_0_5 = {} l_0_5.type = "html" l_0_5.originalEncoding = "utf-8" l_0_5.BOM = "" ---------------------------------------------- 21 GETGLOBAL 6 13 SET_CTR(Tpend) = 0 next bool: 0 locals(6): 0{l_0_0} 1{l_0_1} 2{l_0_2} 3{l_0_3} 4{l_0_4} 5{l_0_5} vpend(0): tpend(1): 6{log} (...) local l_0_0 = require("model.writers.DocumentWriter") local l_0_1 = require("model.parsers.HTMLTokens") local l_0_2 = require("model.html.HTMLNode") local l_0_3 = require("model.source.DocumentSearch") local l_0_4 = require("model.source.TextNode") local l_0_5 = {} l_0_5.type = "html" l_0_5.originalEncoding = "utf-8" l_0_5.BOM = "" l_0_5.filePath = "" ---------------------------------------------- 22 SELF 6 6 270 SET_CTR(Tpend) = 0 SET_CTR(Tpend) = 1 next bool: 0 locals(6): 0{l_0_0} 1{l_0_1} 2{l_0_2} 3{l_0_3} 4{l_0_4} 5{l_0_5} vpend(0): tpend(2): 7{log} 6{log:obtain} (...) local l_0_0 = require("model.writers.DocumentWriter") local l_0_1 = require("model.parsers.HTMLTokens") local l_0_2 = require("model.html.HTMLNode") local l_0_3 = require("model.source.DocumentSearch") local l_0_4 = require("model.source.TextNode") local l_0_5 = {} l_0_5.type = "html" l_0_5.originalEncoding = "utf-8" l_0_5.BOM = "" l_0_5.filePath = "" ---------------------------------------------- 23 LOADK 8 15 SET_CTR(Tpend) = 2 next bool: 0 locals(6): 0{l_0_0} 1{l_0_1} 2{l_0_2} 3{l_0_3} 4{l_0_4} 5{l_0_5} vpend(0): tpend(3): 7{log} 6{log:obtain} 8{"HTML Document"} (...) local l_0_0 = require("model.writers.DocumentWriter") local l_0_1 = require("model.parsers.HTMLTokens") local l_0_2 = require("model.html.HTMLNode") local l_0_3 = require("model.source.DocumentSearch") local l_0_4 = require("model.source.TextNode") local l_0_5 = {} l_0_5.type = "html" l_0_5.originalEncoding = "utf-8" l_0_5.BOM = "" l_0_5.filePath = "" ---------------------------------------------- 24 CALL 6 3 2 SET_CTR(Tpend) = 0 next bool: 0 locals(6): 0{l_0_0} 1{l_0_1} 2{l_0_2} 3{l_0_3} 4{l_0_4} 5{l_0_5} vpend(0): tpend(1): 6{log:obtain("HTML Document")} (...) local l_0_0 = require("model.writers.DocumentWriter") local l_0_1 = require("model.parsers.HTMLTokens") local l_0_2 = require("model.html.HTMLNode") local l_0_3 = require("model.source.DocumentSearch") local l_0_4 = require("model.source.TextNode") local l_0_5 = {} l_0_5.type = "html" l_0_5.originalEncoding = "utf-8" l_0_5.BOM = "" l_0_5.filePath = "" ---------------------------------------------- 25 CLOSURE 7 0 ---------------------------------------------- 1 TEST 1 0 1 next bool: 0 locals(2): 0{l_1_0} 1{l_1_1} vpend(0): tpend(0): (l_1_0, l_1_1) ---------------------------------------------- 2 JMP 0 2 next bool: 1 locals(2): 0{l_1_0} 1{l_1_1} vpend(0): tpend(0): (l_1_0, l_1_1) ---------------------------------------------- 3 NEWTABLE 2 0 0 SET_CTR(Tpend) = 0 next bool: 1 locals(2): 0{l_1_0} 1{l_1_1} vpend(0): tpend(1): 2{{}} (l_1_0, l_1_1) ---------------------------------------------- 4 MOVE 1 2 0 SET_CTR(Tpend) = 0 next bool: 1 locals(2): 0{l_1_0} 1{l_1_1} vpend(1): 1{l_1_1={}} tpend(0): (l_1_0, l_1_1) Exps(0): at 1 dest 5 neg 1 (l_1_1 (null) l_1_1) cpd -1 Stored at endif list: <5> ---------------------------------------------- 5 GETGLOBAL 2 0 SET_CTR(Tpend) = 0 next bool: 0 locals(2): 0{l_1_0} 1{l_1_1} vpend(0): tpend(1): 2{setmetatable} (l_1_0, l_1_1) if not l_1_1 then l_1_1 = {} end ---------------------------------------------- 6 MOVE 3 1 0 SET_CTR(Tpend) = 1 next bool: 0 locals(2): 0{l_1_0} 1{l_1_1} vpend(0): tpend(2): 2{setmetatable} 3{l_1_1} (l_1_0, l_1_1) if not l_1_1 then l_1_1 = {} end ---------------------------------------------- 7 MOVE 4 0 0 SET_CTR(Tpend) = 2 next bool: 0 locals(2): 0{l_1_0} 1{l_1_1} vpend(0): tpend(3): 2{setmetatable} 3{l_1_1} 4{l_1_0} (l_1_0, l_1_1) if not l_1_1 then l_1_1 = {} end ---------------------------------------------- 8 CALL 2 3 1 next bool: 0 locals(2): 0{l_1_0} 1{l_1_1} vpend(0): tpend(0): (l_1_0, l_1_1) if not l_1_1 then l_1_1 = {} end setmetatable(l_1_1, l_1_0) ---------------------------------------------- 9 SETTABLE 0 257 0 SET_CTR(Tpend) = 0 next bool: 0 locals(2): 0{l_1_0} 1{l_1_1} vpend(1): -1{l_1_0.__index=l_1_0} tpend(0): (l_1_0, l_1_1) if not l_1_1 then l_1_1 = {} end setmetatable(l_1_1, l_1_0) ---------------------------------------------- 10 GETUPVAL 2 0 0 SET_CTR(Tpend) = 0 next bool: 0 locals(2): 0{l_1_0} 1{l_1_1} vpend(0): tpend(1): 2{l_0_2} (l_1_0, l_1_1) if not l_1_1 then l_1_1 = {} end setmetatable(l_1_1, l_1_0) l_1_0.__index = l_1_0 ---------------------------------------------- 11 SELF 2 2 259 SET_CTR(Tpend) = 0 SET_CTR(Tpend) = 1 next bool: 0 locals(2): 0{l_1_0} 1{l_1_1} vpend(0): tpend(2): 3{l_0_2} 2{l_0_2:new} (l_1_0, l_1_1) if not l_1_1 then l_1_1 = {} end setmetatable(l_1_1, l_1_0) l_1_0.__index = l_1_0 ---------------------------------------------- 12 CALL 2 2 2 SET_CTR(Tpend) = 0 next bool: 0 locals(2): 0{l_1_0} 1{l_1_1} vpend(0): tpend(1): 2{l_0_2:new()} (l_1_0, l_1_1) if not l_1_1 then l_1_1 = {} end setmetatable(l_1_1, l_1_0) l_1_0.__index = l_1_0 ---------------------------------------------- 13 SETTABLE 1 258 2 SET_CTR(Tpend) = 0 next bool: 0 locals(2): 0{l_1_0} 1{l_1_1} vpend(1): -1{l_1_1.root=l_0_2:new()} tpend(0): (l_1_0, l_1_1) if not l_1_1 then l_1_1 = {} end setmetatable(l_1_1, l_1_0) l_1_0.__index = l_1_0 ---------------------------------------------- 14 NEWTABLE 2 1 0 next bool: 0 locals(2): 0{l_1_0} 1{l_1_1} vpend(0): tpend(0): (l_1_0, l_1_1) if not l_1_1 then l_1_1 = {} end setmetatable(l_1_1, l_1_0) l_1_0.__index = l_1_0 l_1_1.root = l_0_2:new() ---------------------------------------------- 15 GETTABLE 3 1 258 SET_CTR(Tpend) = 0 SET_CTR(Tpend) = 0 next bool: 0 locals(3): 0{l_1_0} 1{l_1_1} 2{l_1_2} vpend(0): tpend(1): 3{l_1_1.root} (l_1_0, l_1_1) if not l_1_1 then l_1_1 = {} end setmetatable(l_1_1, l_1_0) l_1_0.__index = l_1_0 l_1_1.root = l_0_2:new() local l_1_2 = {} ---------------------------------------------- 16 SETLIST 2 1 1