moonscript/tests/outputs/import.lua

30 lines
621 B
Lua
Raw Normal View History

2011-05-24 05:43:40 +00:00
local hello = yeah.hello
local hello, world
do
local _table_0 = table["cool"]
hello = _table_0.hello
world = _table_0.world
end
local a, b, c = items.a, moon.bind(items.b, items), items.c
local master, ghost
do
local _table_0 = find("mytable")
master = _table_0.master
ghost = moon.bind(_table_0.ghost, _table_0)
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
do
local _table_1 = a(table)
something = _table_1.something
end
if indent then
local okay, well
do
local _table_1 = tables[100]
okay = _table_1.okay
well = moon.bind(_table_1.well, _table_1)
end
end