local t local function render() t:foo(1,2,3) t:bar("x") t:foo2() end t={v=0} function t:foo(a,b,c) self.v=a+b+c; print("FOO",a,b,c) end function t:bar(a) print("BAR",a) end function t:foo2() print("FOO2") end render()