/
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
genfun
/
lib
/
/usr/lib/node_modules/npm/node_modules/genfun/lib
mkdir
upload
Name
Size
Mode
Actions
genfun.js
8599
0644
edit
dl
rm
method.js
2306
0644
edit
dl
rm
role.js
406
0644
edit
dl
rm
util.js
1057
0644
edit
dl
rm
Edit:
/usr/lib/node_modules/npm/node_modules/genfun/lib/role.js
(406B)
'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')
Save
cmd:
run