-- 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\css\CSSSelector.luac ---------------------------------------------- 1 NEWTABLE 0 0 0 SET_CTR(Tpend) = 0 next bool: 0 locals(0): vpend(0): tpend(1): 0{{}} (...) ---------------------------------------------- 2 SETTABLE 0 256 257 SET_CTR(Tpend) = 0 next bool: 0 locals(1): 0{l_0_0} vpend(1): -1{l_0_0.type="CSS_SELECTOR"} tpend(0): (...) local l_0_0 = {} ---------------------------------------------- 3 SETTABLE 0 258 259 SET_CTR(Tpend) = 0 next bool: 0 locals(1): 0{l_0_0} vpend(1): -1{l_0_0.selector=""} tpend(0): (...) local l_0_0 = {} l_0_0.type = "CSS_SELECTOR" ---------------------------------------------- 4 CLOSURE 1 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 RETURN 1 2 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 return l_1_1 ---------------------------------------------- 11 RETURN 0 1 0 next bool: 0 locals(0): 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 return l_1_1 SET_CTR(Tpend) = 0 next bool: 0 locals(1): 0{l_0_0} vpend(0): tpend(1): 1{function(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 return l_1_1 end} (...) local l_0_0 = {} l_0_0.type = "CSS_SELECTOR" l_0_0.selector = "" ---------------------------------------------- 5 SETTABLE 0 260 1 SET_CTR(Tpend) = 0 next bool: 0 locals(1): 0{l_0_0} vpend(1): -1{l_0_0.new=function(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 return l_1_1 end} tpend(0): (...) local l_0_0 = {} l_0_0.type = "CSS_SELECTOR" l_0_0.selector = "" ---------------------------------------------- 6 CLOSURE 1 1 ---------------------------------------------- 1 EQ 0 0 1 next bool: 0 locals(2): 0{l_2_0} 1{l_2_1} vpend(0): tpend(0): (l_2_0, l_2_1) ---------------------------------------------- 2 JMP 0 3 next bool: 1 locals(2): 0{l_2_0} 1{l_2_1} vpend(0): tpend(0): (l_2_0, l_2_1) ---------------------------------------------- 3 LOADBOOL 2 1 0 SET_CTR(Tpend) = 0 next bool: 1 locals(2): 0{l_2_0} 1{l_2_1} vpend(0): tpend(1): 2{true} (l_2_0, l_2_1) ---------------------------------------------- 4 RETURN 2 2 0 Exps(0): at 1 dest 6 neg 0 (l_2_0 == l_2_1) cpd -1 Stored at endif list: <6> next bool: 0 locals(2): 0{l_2_0} 1{l_2_1} vpend(0): tpend(0): (l_2_0, l_2_1) if l_2_0 == l_2_1 then return true ---------------------------------------------- 5 JMP 0 18 next bool: 0 locals(2): 0{l_2_0} 1{l_2_1} vpend(0): tpend(0): (l_2_0, l_2_1) if l_2_0 == l_2_1 then return true ---------------------------------------------- 6 LOADK 2 0 SET_CTR(Tpend) = 0 next bool: 0 locals(2): 0{l_2_0} 1{l_2_1} vpend(0): tpend(1): 2{"#"} (l_2_0, l_2_1) if l_2_0 == l_2_1 then return true ---------------------------------------------- 7 MOVE 3 1 0 SET_CTR(Tpend) = 1 next bool: 0 locals(2): 0{l_2_0} 1{l_2_1} vpend(0): tpend(2): 2{"#"} 3{l_2_1} (l_2_0, l_2_1) if l_2_0 == l_2_1 then return true ---------------------------------------------- 8 CONCAT 2 2 3 SET_CTR(Tpend) = 0 next bool: 0 locals(2): 0{l_2_0} 1{l_2_1} vpend(0): tpend(1): 2{"#" .. l_2_1} (l_2_0, l_2_1) if l_2_0 == l_2_1 then return true ---------------------------------------------- 9 EQ 0 0 2 next bool: 0 locals(2): 0{l_2_0} 1{l_2_1} vpend(0): tpend(0): (l_2_0, l_2_1) if l_2_0 == l_2_1 then return true ---------------------------------------------- 10 JMP 0 3 next bool: 1 locals(2): 0{l_2_0} 1{l_2_1} vpend(0): tpend(0): (l_2_0, l_2_1) if l_2_0 == l_2_1 then return true ---------------------------------------------- 11 LOADBOOL 2 1 0 SET_CTR(Tpend) = 0 next bool: 1 locals(2): 0{l_2_0} 1{l_2_1} vpend(0): tpend(1): 2{true} (l_2_0, l_2_1) if l_2_0 == l_2_1 then return true ---------------------------------------------- 12 RETURN 2 2 0 Stored at endif list: <24> Exps(0): at 9 dest 14 neg 0 (l_2_0 == "#" .. l_2_1) cpd -1 Stored at endif list: <14> 24 next bool: 0 locals(2): 0{l_2_0} 1{l_2_1} vpend(0): tpend(0): (l_2_0, l_2_1) if l_2_0 == l_2_1 then return true else if l_2_0 == "#" .. l_2_1 then return true ---------------------------------------------- 13 JMP 0 10 next bool: 0 locals(2): 0{l_2_0} 1{l_2_1} vpend(0): tpend(0): (l_2_0, l_2_1) if l_2_0 == l_2_1 then return true else if l_2_0 == "#" .. l_2_1 then return true ---------------------------------------------- 14 LOADK 2 0 SET_CTR(Tpend) = 0 next bool: 0 locals(2): 0{l_2_0} 1{l_2_1} vpend(0): tpend(1): 2{"#"} (l_2_0, l_2_1) if l_2_0 == l_2_1 then return true else if l_2_0 == "#" .. l_2_1 then return true ---------------------------------------------- 15 MOVE 3 0 0 SET_CTR(Tpend) = 1 next bool: 0 locals(2): 0{l_2_0} 1{l_2_1} vpend(0): tpend(2): 2{"#"} 3{l_2_0} (l_2_0, l_2_1) if l_2_0 == l_2_1 then return true else if l_2_0 == "#" .. l_2_1 then return true ---------------------------------------------- 16 CONCAT 2 2 3 SET_CTR(Tpend) = 0 next bool: 0 locals(2): 0{l_2_0} 1{l_2_1} vpend(0): tpend(1): 2{"#" .. l_2_0} (l_2_0, l_2_1) if l_2_0 == l_2_1 then return true else if l_2_0 == "#" .. l_2_1 then return true ---------------------------------------------- 17 EQ 0 2 1 next bool: 0 locals(2): 0{l_2_0} 1{l_2_1} vpend(0): tpend(0): (l_2_0, l_2_1) if l_2_0 == l_2_1 then return true else if l_2_0 == "#" .. l_2_1 then return true ---------------------------------------------- 18 JMP 0 3 next bool: 1 locals(2): 0{l_2_0} 1{l_2_1} vpend(0): tpend(0): (l_2_0, l_2_1) if l_2_0 == l_2_1 then return true else if l_2_0 == "#" .. l_2_1 then return true ---------------------------------------------- 19 LOADBOOL 2 1 0 SET_CTR(Tpend) = 0 next bool: 1 locals(2): 0{l_2_0} 1{l_2_1} vpend(0): tpend(1): 2{true} (l_2_0, l_2_1) if l_2_0 == l_2_1 then return true else if l_2_0 == "#" .. l_2_1 then return true ---------------------------------------------- 20 RETURN 2 2 0 Stored at endif list: <24> 24 Exps(0): at 17 dest 22 neg 0 ("#" .. l_2_0 == l_2_1) cpd -1 Stored at endif list: <22> 24 24 next bool: 0 locals(2): 0{l_2_0} 1{l_2_1} vpend(0): tpend(0): (l_2_0, l_2_1) if l_2_0 == l_2_1 then return true else if l_2_0 == "#" .. l_2_1 then return true else if "#" .. l_2_0 == l_2_1 then return true ---------------------------------------------- 21 JMP 0 2 next bool: 0 locals(2): 0{l_2_0} 1{l_2_1} vpend(0): tpend(0): (l_2_0, l_2_1) if l_2_0 == l_2_1 then return true else if l_2_0 == "#" .. l_2_1 then return true else if "#" .. l_2_0 == l_2_1 then return true ---------------------------------------------- 22 LOADBOOL 2 0 0 SET_CTR(Tpend) = 0 next bool: 0 locals(2): 0{l_2_0} 1{l_2_1} vpend(0): tpend(1): 2{false} (l_2_0, l_2_1) if l_2_0 == l_2_1 then return true else if l_2_0 == "#" .. l_2_1 then return true else if "#" .. l_2_0 == l_2_1 then return true ---------------------------------------------- 23 RETURN 2 2 0 Stored at endif list: <24> 24 24 next bool: 0 locals(2): 0{l_2_0} 1{l_2_1} vpend(0): tpend(0): (l_2_0, l_2_1) if l_2_0 == l_2_1 then return true else if l_2_0 == "#" .. l_2_1 then return true else if "#" .. l_2_0 == l_2_1 then return true else return false ---------------------------------------------- 24 RETURN 0 1 0 next bool: 0 locals(0): vpend(0): tpend(0): (l_2_0, l_2_1) if l_2_0 == l_2_1 then return true else if l_2_0 == "#" .. l_2_1 then return true else if "#" .. l_2_0 == l_2_1 then return true else return false end end end SET_CTR(Tpend) = 0 next bool: 0 locals(1): 0{l_0_0} vpend(0): tpend(1): 1{function(l_2_0, l_2_1) if l_2_0 == l_2_1 then return true else if l_2_0 == "#" .. l_2_1 then return true else if "#" .. l_2_0 == l_2_1 then return true else return false end end end end} (...) local l_0_0 = {} l_0_0.type = "CSS_SELECTOR" l_0_0.selector = "" l_0_0.new = function(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 return l_1_1 end ---------------------------------------------- 7 SETTABLE 0 261 1 SET_CTR(Tpend) = 0 next bool: 0 locals(1): 0{l_0_0} vpend(1): -1{l_0_0.compareIDs=function(l_2_0, l_2_1) if l_2_0 == l_2_1 then return true else if l_2_0 == "#" .. l_2_1 then return true else if "#" .. l_2_0 == l_2_1 then return true else return false end end end end} tpend(0): (...) local l_0_0 = {} l_0_0.type = "CSS_SELECTOR" l_0_0.selector = "" l_0_0.new = function(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 return l_1_1 end ---------------------------------------------- 8 RETURN 0 2 0 next bool: 0 locals(1): 0{l_0_0} vpend(0): tpend(0): (...) local l_0_0 = {} l_0_0.type = "CSS_SELECTOR" l_0_0.selector = "" l_0_0.new = function(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 return l_1_1 end l_0_0.compareIDs = function(l_2_0, l_2_1) if l_2_0 == l_2_1 then return true else if l_2_0 == "#" .. l_2_1 then return true else if "#" .. l_2_0 == l_2_1 then return true else return false end end end end return l_0_0 ---------------------------------------------- 9 RETURN 0 1 0 next bool: 0 locals(0): vpend(0): tpend(0): (...) local l_0_0 = {} l_0_0.type = "CSS_SELECTOR" l_0_0.selector = "" l_0_0.new = function(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 return l_1_1 end l_0_0.compareIDs = function(l_2_0, l_2_1) if l_2_0 == l_2_1 then return true else if l_2_0 == "#" .. l_2_1 then return true else if "#" .. l_2_0 == l_2_1 then return true else return false end end end end return l_0_0 (...) local l_0_0 = {} l_0_0.type = "CSS_SELECTOR" l_0_0.selector = "" l_0_0.new = function(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 return l_1_1 end l_0_0.compareIDs = function(l_2_0, l_2_1) if l_2_0 == l_2_1 then return true else if l_2_0 == "#" .. l_2_1 then return true else if "#" .. l_2_0 == l_2_1 then return true else return false end end end end return l_0_0