nl_tokens: TODO maybe refactor this?
pl_tokens: function getRefs ( <mask> , refs ) { var i , list ; if ( token . t === types . REFERENCE ) { if ( refs . indexOf ( token . n ) === - 1 ) { refs . unshift ( token . n ) ; } } list = token . o || token . m ; if ( list ) { if ( isObject ( list ) ) { getRefs ( list , refs ) ; } else { i = list . length ; while ( i -- ) { getRefs ( list [ i ] , refs ) ; } } } if ( token . x ) { getRefs ( token . x , refs ) ; } if ( token . r ) { getRefs ( token . r , refs ) ; } if ( token . v ) { getRefs ( token . v , refs ) ; } }