mirror of
https://github.com/leafo/moonscript.git
synced 2024-11-22 02:44:23 +00:00
rebuilt
This commit is contained in:
parent
383e9d66f2
commit
cec8ba5f6f
@ -11,8 +11,7 @@ Set = function(items)
|
|||||||
end
|
end
|
||||||
return self
|
return self
|
||||||
end
|
end
|
||||||
Stack = (function()
|
Stack = (function(_parent_0)
|
||||||
local _parent_0 = nil
|
|
||||||
local _base_0 = {
|
local _base_0 = {
|
||||||
__tostring = function(self)
|
__tostring = function(self)
|
||||||
return "<Stack {" .. concat(self, ", ") .. "}>"
|
return "<Stack {" .. concat(self, ", ") .. "}>"
|
||||||
@ -47,10 +46,10 @@ Stack = (function()
|
|||||||
end
|
end
|
||||||
}, {
|
}, {
|
||||||
__index = _base_0,
|
__index = _base_0,
|
||||||
__call = function(cls, ...)
|
__call = function(mt, ...)
|
||||||
local _self_0 = setmetatable({}, _base_0)
|
local self = setmetatable({}, _base_0)
|
||||||
cls.__init(_self_0, ...)
|
mt.__init(self, ...)
|
||||||
return _self_0
|
return self
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
_base_0.__class = _class_0
|
_base_0.__class = _class_0
|
||||||
|
Loading…
Reference in New Issue
Block a user