moonscript/spec/outputs/export.lua

87 lines
1.1 KiB
Lua
Raw Normal View History

do
2013-01-13 19:50:26 +00:00
a, b, c = 223, 343
cool = "dad"
end
do
do
local _base_0 = {
umm = "cool"
}
_base_0.__index = _base_0
local _class_0 = setmetatable({
__init = function() end,
2013-01-13 19:50:26 +00:00
__base = _base_0,
__name = "Something"
2013-01-13 19:50:26 +00:00
}, {
__index = _base_0,
2013-01-13 19:50:26 +00:00
__call = function(cls, ...)
local _self_0 = setmetatable({}, _base_0)
cls.__init(_self_0, ...)
return _self_0
end
2013-01-13 19:50:26 +00:00
})
_base_0.__class = _class_0
Something = _class_0
2012-09-09 00:52:26 +00:00
end
2011-10-09 09:00:25 +00:00
end
2013-01-13 19:50:26 +00:00
do
local d
a, b, c, d = "hello"
2011-10-09 09:00:25 +00:00
end
2013-01-13 19:50:26 +00:00
do
local What
if this then
What = 232
else
What = 4343
end
local another = 3434
Another = 7890
if inner then
local Yeah = "10000"
end
if this then
What = 232
else
What = 4343
end
2011-10-09 09:00:25 +00:00
end
do
2013-01-13 19:50:26 +00:00
if this then
What = 232
2013-01-13 19:50:26 +00:00
else
What = 4343
2013-01-13 19:50:26 +00:00
end
x, y, z = 1, 2, 3
y = function()
local hallo = 3434
end
do
local j = 2000
end
end
do
x = 3434
if y then
x = 10
end
end
do
if y then
local x = 10
end
x = 3434
end
do
do
k = 1212
do
local h = 100
end
y = function()
local h = 100
k = 100
end
end
local h = 100
end