lua metatable: http://www.runoob.com/lua/lua-metatables.html lua __index和memtabable: http://www.xuebuyuan.com/2151382.html