List<PsiElement> (PsiElement outerLangElement) { PsiFile file = outerLangElement.getContainingFile(); if (file != null && file.getViewProvider() instanceof TemplateLanguageFileViewProvider viewProvider) { return findAllElementsInside(outerLangElement.getTextRange(), viewProvider, false); } return EMPTY_PSI_ELEMENT_LIST; }