public boolean supportsPropertySyntax(@NotNull PsiElement context) {
    RegExpLanguageHost host = findRegExpHost(context);
    return host == null || host.supportsPropertySyntax(context);
  }
public boolean supportsPropertySyntax(@NotNull PsiElement context)