• The functions setmetatable() and getmetatable() modify and query an object's metatable, respectively.

    函数 setmetatable()getmetatable() 分别对对象的元表进行修改查询

    youdao

  • The keys of the metatable are called events; the values (in other words, the functions) are called metamethods.

    元表称为事件;值(而言之就是函数)称为方法。

    youdao

  • The function String() takes a string, string, wraps it in a table ({value = s or ''}), and assigns the metatable mt to the table.

    函数String()接收字符串 string,将其封装到一个({value =sor ''})中,元表 mt值给这个表。

    youdao

  • The function String() takes a string, string, wraps it in a table ({value = s or ''}), and assigns the metatable mt to the table.

    函数String()接收字符串 string,将其封装到一个({value =sor ''})中,元表 mt值给这个表。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定