AlkantarClanX12

Your IP : 3.15.14.245


Current Path : /proc/self/root/opt/alt/alt-nodejs14/root/lib/node_modules/npm/node_modules/genfun/lib/
Upload File :
Current File : //proc/self/root/opt/alt/alt-nodejs14/root/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')