nl_tokens: / * Compute a link that can be used in anchors href attributes from a state name and a list of params a . k . a reverse routing .
pl_tokens: function link ( stateName , params ) { const <mask> = leafStates [ stateName ] if ( ! state ) throw new Error ( 'Cannot find state ' + stateName ) const interpolated = interpolate ( state , params ) const uri = util . normalizePathQuery ( interpolated ) return isHashMode ( ) ? '#' + options . hashPrefix + uri : uri }