void (int tokenIndex, int startOffset, int endOffset, int data, @NotNull IElementType tokenType) { mappingSegments.setElementLight(tokenIndex, startOffset, endOffset, data); Mapper mapper = mappingSegments.getMappingDocument(tokenType); if (mapper != null) { docTexts.get(mapper).addToken(text.subSequence(startOffset, endOffset), tokenType, tokenIndex); } }