void (@NotNull PsiElement element) { String leafText = InjectedLanguageUtilBase.getUnescapedLeafText(element, false); if (leafText != null) { unescapedOffset += leafText.length(); escapedOffset += element.getTextLength(); if (escapedOffset >= injectedOffset) { unescapedOffset -= escapedOffset - injectedOffset; stopWalking(); } } super.visitElement(element); }