nl_tokens: / *
pl_tokens: function AbstractRoboHydraHead ( props ) { // If you don't pass props at all, created a "generic", valid // RoboHydra head. This is useful for inheritance and for when you // don't really care about the behaviour of the head (you just // want one created) props = props || { path : '/.*' , handler : function ( _ , res ) { res . end ( ) ; } } ; this . type = 'generic' ; this . _importProperties ( AbstractRoboHydraHead , props ) ; var self = this ; this . _attached = ! props . detached ; this . requestParamNames = [ ] ; this . path = this . _normalizePath ( props . path || '/.*' ) . replace ( / :(\w+) / g , function ( _ , name ) { self . requestParamNames . push ( name ) ; return '([^/]+)' ; } ) ; if ( typeof this . reset !== 'function' ) { throw <mask> InvalidRoboHydraHeadException ( "Property 'reset' must be a function" ) ; } this . reset ( ) ; }