nl_tokens: Check node .
pl_tokens: function javascript ( node ) { if ( ! is ( node , 'script' ) ) { return false } if ( has ( node , 'type' ) ) { return check ( node . properties . type ) } return ! has ( <mask> , 'language' ) || check ( node . properties . language , 'text/' ) }