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>()); }
public static IFSharpLanguageService GetFSharpLanguageService([NotNull] this IFSharpTreeNode treeNode) => treeNode.GetPsiServices().GetComponent <LanguageManager>().GetService <IFSharpLanguageService>(treeNode.Language);