nl_tokens: Applies the search filter by showing / hiding corresponding nodes in the sidebar .
pl_tokens: function applySearch ( strSearch ) { sbSearch . parse ( strSearch ) ; setFilterBtnStates ( ) ; $sidebarNodes . each ( function ( ) { var node = $ ( this ) ; var show = true ; if ( sbSearch . scope . length > 0 ) { show = sbSearch . hasScope ( node . attr ( 'data-scope' ) ) ; } if ( <mask> && sbSearch . kind . length > 0 ) { show = sbSearch . hasKind ( node . attr ( 'data-kind' ) ) ; } if ( show && sbSearch . keywords . length > 0 ) { // get the data keywords to be searched from each node's target // attribute. show = sbSearch . matchesAnyKeyword ( node . attr ( 'data-keywords' ) ) ; } if ( show ) { node . removeClass ( 'hidden' ) ; } else { node . addClass ( 'hidden' ) ; } } ) ; }