protected virtual bool IsSupported(IPsiSourceFile sourceFile)
        {
            if (sourceFile == null || !sourceFile.IsValid())
            {
                return(false);
            }

            return(sourceFile.GetLanguages().Any(x => x.Is <JsonNewLanguage>()));
        }
Beispiel #2
0
 protected static bool Accepts(IPsiSourceFile sourceFile)
 {
     return(sourceFile.GetLanguages().Any(x => x.Is <NTriplesLanguage>()));
 }