nl_tokens: Adds a validate method useful to set the prop validator function .
pl_tokens: function withValidate ( <mask> ) { return Object . defineProperty ( type , 'validate' , { value : function value ( fn ) { this . validator = fn . bind ( this ) ; return this ; } , enumerable : false } ) ; }