Esempio n. 1
0
 public static IFSharpElementFactory CreateElementFactory([NotNull] this IFSharpTreeNode treeNode) =>
 treeNode.GetFSharpLanguageService().CreateElementFactory(treeNode.GetPsiModule());
 public static INamedNamespaceDeclaration GetContainingNamespaceDeclaration([NotNull] this IFSharpTreeNode treeNode)
 {
     return(treeNode.GetContainingNode <INamedNamespaceDeclaration>());
 }
Esempio n. 3
0
 public static IFSharpLanguageService GetFSharpLanguageService([NotNull] this IFSharpTreeNode treeNode) =>
 treeNode.GetPsiServices().GetComponent <LanguageManager>().GetService <IFSharpLanguageService>(treeNode.Language);