IPredicateTokenFilter
The predicate_token_filter token filter takes a predicate script, and removes tokens that do
not match the predicate.
a predicate script that determines whether or not the current token will
be emitted. Note that only inline scripts are supported.