code: func NewTokenFilter(input TokenStream) *TokenFilter {
  	return &TokenFilter{
  		TokenStreamImpl: NewTokenStreamWith(input.Attributes()),
  		input:           input,
  	}
  }
docs: /* Construct a token stream filtering the given input. */