Lines Matching defs:function
45 __tostring=function(x) return x.name end})
57 function f (t, i, e)
71 function f(t, i, v) rawset(t, i, v-3) end
89 {__index = function (_,n) return a[n-3]+4, "lixo" end})})})
101 setmetatable(a, {__newindex = function (t,k,v) foi=true; rawset(t,k,v) end})
112 function f (t, ...) return t, {...} end
126 function f(op)
127 return function (...) cap = {[0] = op, ...} ; return (...) end
172 t = setmetatable({1,2,3}, {__len = function () return 10 end})
178 t.__lt = function (a,b,c)
186 function Op(x) return setmetatable({x=x}, t) end
188 local function test ()
205 t.__le = function (a,b,c)
217 local function Set(x)
223 t.__lt = function (a,b)
239 t.__le = function (a,b)
250 t.__eq = function (a,b)
268 t.__concat = function (a,b,c)
296 setmetatable(c, {__concat = function (a,b)
308 t1.__eq = function () return true end
309 t1.__lt = function () return true end
323 __call = function (t, ...)
344 _ENV = setmetatable({}, {__index=function (_,k) return _g[k] end})
355 grandparent.__newindex = function(t,k,v) T=t; K=k; V=v end
391 function f(...)
445 assert(string.find(tostring(select), 'function:'))