moonscript/spec/outputs/import.lua
2014-09-02 20:31:08 -07:00

77 lines
1.3 KiB
Lua

local hello
hello = yeah.hello
local world
do
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
end
local master, ghost
do
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)()
end
local yumm
a, yumm = 3434, "hello"
local _table_0 = 232
local something
something = a(table).something
if indent then
local okay, well
do
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)()
end
end
do
do
local _obj_0 = z
a, b, c = _obj_0.a, _obj_0.b, _obj_0.c
end
end
do
do
local _obj_0 = z
a, b, c = _obj_0.a, _obj_0.b, _obj_0.c
end
end
do
do
local _obj_0 = z
a, b, c = _obj_0.a, _obj_0.b, _obj_0.c
end
end
do
do
local _obj_0 = z
a, b, c = _obj_0.a, _obj_0.b, _obj_0.c
end
end
do
do
local _obj_0 = z
a, b, c = _obj_0.a, _obj_0.b, _obj_0.c
end
end