nl_tokens: Composes list of filters that should be applied to a tree based on passed data
pl_tokens: function ( syntax , profile , additionalFilters ) { profile = require ( 'profile' ) . get ( profile ) ; var filters = list ( profile . filters || require ( 'resources' ) . findItem ( syntax , 'filters' ) || basicFilters ) ; if ( profile . extraFilters ) { filters = filters . concat ( list ( profile . extraFilters ) ) ; } if ( additionalFilters ) { filters = filters . concat ( list ( additionalFilters ) ) ; } if ( ! filters || ! filters . length ) { // looks like unknown syntax, apply basic filters filters = <mask> ( basicFilters ) ; } return filters ; }