static @NotNull List<PsiElement> findAllElementsInside(@NotNull TextRange range,
                                                         @NotNull TemplateLanguageFileViewProvider viewProvider,
                                                         boolean fromTemplate) {
    return findAllElementsInside(range, viewProvider,
                                 fromTemplate ? viewProvider.getBaseLanguage() : viewProvider.getTemplateDataLanguage());
  }
static @NotNull List<PsiElement> findAllElementsInside(@NotNull TextRange range,
                                                         @NotNull TemplateLanguageFileViewProvider viewProvider,
                                                         boolean fromTemplate)