protected void addIgnoredType(Object tokenType){
  ignoredTypes.add(tokenType);
}

protected void addIgnoredType ( Object tokenType ) { ignoredTypes . add ( tokenType ) ; }
adds a token type to the set of tokens that should be ignored in the tokenizer output .
