Tokenizer (PsiElement element) { if (element instanceof PropertyValueImpl) { return myPropertyValueTokenizer; } if (element instanceof PropertyKeyImpl) { return myPropertyTokenizer; } if (element instanceof Property) { return EMPTY_TOKENIZER; } return super.getTokenizer(element); }