✏️ 正在编辑: role.js
路径:
/lib/node_modules/npm/node_modules/genfun/lib/role.js
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
'use strict' /* * Role * * A Role encapsulates a particular object's 'role' in a method's * dispatch. They are added directly to the selector for a method, and thus * do not prevent the objects a method was defined on from being garbage * collected. */ module.exports = Role function Role (method, position) { this.method = method this.position = position } Role.roleKeyName = Symbol('roles')
💾 保存文件
← 返回文件管理器