2011-07-16 18:00:39 +00:00
|
|
|
local x
|
|
|
|
x = function()
|
|
|
|
return print(what)
|
|
|
|
end
|
|
|
|
local _
|
|
|
|
_ = function() end
|
|
|
|
_ = function()
|
|
|
|
return function()
|
|
|
|
return function() end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
go(to(the(barn)))
|
|
|
|
open(function()
|
|
|
|
return the(function()
|
|
|
|
return door
|
|
|
|
end)
|
|
|
|
end)
|
|
|
|
open(function()
|
|
|
|
the(door)
|
|
|
|
local hello
|
|
|
|
hello = function()
|
|
|
|
return my(func)
|
|
|
|
end
|
|
|
|
end)
|
|
|
|
local h
|
|
|
|
h = function()
|
|
|
|
return hi
|
|
|
|
end
|
|
|
|
eat(function() end, world);
|
|
|
|
(function() end)()
|
|
|
|
x = function(...) end
|
|
|
|
hello()
|
|
|
|
hello.world()
|
|
|
|
_ = hello().something
|
|
|
|
_ = what()["ofefe"]
|
|
|
|
what()(the()(heck()))
|
|
|
|
_ = function(a, b, c, d, e) end
|
|
|
|
_ = function(a, a, a, a, a)
|
|
|
|
return print(a)
|
|
|
|
end
|
|
|
|
_ = function(x)
|
|
|
|
if x == nil then
|
|
|
|
x = 23023
|
|
|
|
end
|
|
|
|
end
|
|
|
|
_ = function(x)
|
|
|
|
if x == nil then
|
|
|
|
x = function(y)
|
|
|
|
if y == nil then
|
|
|
|
y = function() end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
_ = function(x)
|
|
|
|
if x == nil then
|
|
|
|
if something then
|
|
|
|
x = yeah
|
|
|
|
else
|
|
|
|
x = no
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
local something
|
|
|
|
something = function(hello, world)
|
|
|
|
if hello == nil then
|
|
|
|
hello = 100
|
|
|
|
end
|
|
|
|
if world == nil then
|
|
|
|
world = function(x)
|
|
|
|
if x == nil then
|
|
|
|
x = [[yeah cool]]
|
|
|
|
end
|
2011-08-20 17:36:17 +00:00
|
|
|
return print("eat rice")
|
2011-07-16 18:00:39 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
return print(hello)
|
2011-09-12 06:18:05 +00:00
|
|
|
end
|
|
|
|
_ = function(self, x, y) end
|
|
|
|
_ = function(self, x, y)
|
|
|
|
self.x, self.y = x, y
|
|
|
|
end
|
|
|
|
_ = function(self, x)
|
|
|
|
if x == nil then
|
|
|
|
x = 1
|
|
|
|
end
|
|
|
|
end
|
|
|
|
_ = function(self, x, y, z)
|
|
|
|
if x == nil then
|
|
|
|
x = 1
|
|
|
|
end
|
|
|
|
if z == nil then
|
|
|
|
z = "hello world"
|
|
|
|
end
|
|
|
|
self.x, self.z = x, z
|
2011-10-01 06:23:22 +00:00
|
|
|
end
|
2012-01-14 05:24:46 +00:00
|
|
|
x(function() end)
|
2011-10-01 06:23:22 +00:00
|
|
|
y(function()
|
|
|
|
return 1
|
|
|
|
end)
|
|
|
|
z(function()
|
|
|
|
return 1, "hello", "world"
|
|
|
|
end)
|
|
|
|
k(function()
|
|
|
|
if yes then
|
|
|
|
return
|
|
|
|
else
|
|
|
|
return
|
|
|
|
end
|
2012-10-27 19:39:44 +00:00
|
|
|
end)
|
2016-09-25 22:53:40 +00:00
|
|
|
_ = function()
|
2012-10-27 19:39:44 +00:00
|
|
|
if something then
|
|
|
|
return real_name
|
|
|
|
end
|
2016-09-25 22:53:40 +00:00
|
|
|
end
|
|
|
|
d(function()
|
|
|
|
return print("hello world")
|
|
|
|
end, 10)
|
|
|
|
d(1, 2, 3, 4, 5, 6, (function()
|
|
|
|
if something then
|
|
|
|
print("okay")
|
|
|
|
return 10
|
|
|
|
end
|
|
|
|
end)(), 10, 20)
|
|
|
|
f()()(what)(function()
|
|
|
|
return print("srue")
|
|
|
|
end, 123)
|
2016-09-26 00:45:50 +00:00
|
|
|
x = function(a, b)
|
|
|
|
return print("what")
|
|
|
|
end
|
|
|
|
local y
|
|
|
|
y = function(a, b)
|
|
|
|
if a == nil then
|
|
|
|
a = "hi"
|
|
|
|
end
|
|
|
|
if b == nil then
|
|
|
|
b = 23
|
|
|
|
end
|
|
|
|
return print("what")
|
|
|
|
end
|
|
|
|
local z
|
|
|
|
z = function(a, b)
|
|
|
|
if a == nil then
|
|
|
|
a = "hi"
|
|
|
|
end
|
|
|
|
if b == nil then
|
|
|
|
b = 23
|
|
|
|
end
|
|
|
|
return print("what")
|
|
|
|
end
|
|
|
|
local j
|
|
|
|
j = function(f, g, m, a, b)
|
|
|
|
if a == nil then
|
|
|
|
a = "hi"
|
|
|
|
end
|
|
|
|
if b == nil then
|
|
|
|
b = 23
|
|
|
|
end
|
|
|
|
return print("what")
|
|
|
|
end
|
2016-09-26 00:47:44 +00:00
|
|
|
y = function(a, b, ...)
|
|
|
|
if a == nil then
|
|
|
|
a = "hi"
|
|
|
|
end
|
|
|
|
if b == nil then
|
|
|
|
b = 23
|
|
|
|
end
|
|
|
|
return print("what")
|
|
|
|
end
|
|
|
|
y = function(a, b, ...)
|
|
|
|
if a == nil then
|
|
|
|
a = "hi"
|
|
|
|
end
|
|
|
|
if b == nil then
|
|
|
|
b = 23
|
|
|
|
end
|
|
|
|
return print("what")
|
|
|
|
end
|
2016-09-26 00:52:05 +00:00
|
|
|
local args
|
|
|
|
args = function(a, b)
|
|
|
|
return print("what")
|
|
|
|
end
|
|
|
|
args = function(a, b)
|
|
|
|
if a == nil then
|
|
|
|
a = "hi"
|
|
|
|
end
|
|
|
|
if b == nil then
|
|
|
|
b = 23
|
|
|
|
end
|
|
|
|
return print("what")
|
|
|
|
end
|
|
|
|
args = function(a, b)
|
|
|
|
if a == nil then
|
|
|
|
a = "hi"
|
|
|
|
end
|
|
|
|
if b == nil then
|
|
|
|
b = 23
|
|
|
|
end
|
|
|
|
return print("what")
|
|
|
|
end
|
|
|
|
args = function(f, g, m, a, b)
|
|
|
|
if a == nil then
|
|
|
|
a = "hi"
|
|
|
|
end
|
|
|
|
if b == nil then
|
|
|
|
b = 23
|
|
|
|
end
|
|
|
|
return print("what")
|
|
|
|
end
|
2016-09-25 22:53:40 +00:00
|
|
|
return nil
|