moonscript/spec/outputs/import.lua

77 lines
1.3 KiB
Lua
Raw Permalink Normal View History

2013-06-29 08:09:42 +00:00
local hello
hello = yeah.hello
local world
2011-05-24 05:43:40 +00:00
do
2013-06-29 08:09:42 +00:00
local _obj_0 = table["cool"]
hello, world = _obj_0.hello, _obj_0.world
end
local a, b, c
do
local _obj_0 = items
a, b, c = _obj_0.a, (function()
local _base_0 = _obj_0
local _fn_0 = _base_0.b
return function(...)
return _fn_0(_base_0, ...)
end
end)(), _obj_0.c
2011-05-24 05:43:40 +00:00
end
local master, ghost
do
2013-06-29 08:09:42 +00:00
local _obj_0 = find("mytable")
master, ghost = _obj_0.master, (function()
local _base_0 = _obj_0
local _fn_0 = _base_0.ghost
return function(...)
return _fn_0(_base_0, ...)
end
end)()
2011-05-24 05:43:40 +00:00
end
2011-05-29 23:25:52 +00:00
local yumm
a, yumm = 3434, "hello"
2011-05-24 05:43:40 +00:00
local _table_0 = 232
local something
something = a(table).something
2011-05-24 05:43:40 +00:00
if indent then
local okay, well
do
2013-06-29 08:09:42 +00:00
local _obj_0 = tables[100]
okay, well = _obj_0.okay, (function()
local _base_0 = _obj_0
local _fn_0 = _base_0.well
return function(...)
return _fn_0(_base_0, ...)
end
end)()
2011-05-24 05:43:40 +00:00
end
end
do
2013-06-29 08:09:42 +00:00
do
local _obj_0 = z
a, b, c = _obj_0.a, _obj_0.b, _obj_0.c
end
end
do
2013-06-29 08:09:42 +00:00
do
local _obj_0 = z
a, b, c = _obj_0.a, _obj_0.b, _obj_0.c
end
end
do
2013-06-29 08:09:42 +00:00
do
local _obj_0 = z
a, b, c = _obj_0.a, _obj_0.b, _obj_0.c
end
end
do
2013-06-29 08:09:42 +00:00
do
local _obj_0 = z
a, b, c = _obj_0.a, _obj_0.b, _obj_0.c
end
end
do
2013-06-29 08:09:42 +00:00
do
local _obj_0 = z
a, b, c = _obj_0.a, _obj_0.b, _obj_0.c
end
2011-05-24 05:43:40 +00:00
end