added TextualTokenTypeAdapter