Exemplo n.º 1
0
        /// <summary>
        /// Returns of some data was added to the index
        /// </summary>
        private void UpdateIndexAfterLoad(CompactMap <string, AttributedTypesTrieNode> node)
        {
            foreach (var pair in node)
            {
                var trieNode = pair.Value;

                UpdateIndexAfterLoad(trieNode);
            }
        }
Exemplo n.º 2
0
 public UnityExternalFilesPsiModule([NotNull] ISolution solution, string moduleName, string persistentId,
                                    TargetFrameworkId targetFrameworkId, Lifetime lifetime)
 {
     mySolution        = solution;
     myPersistentId    = persistentId;
     myLifetime        = lifetime;
     Name              = moduleName;
     TargetFrameworkId = targetFrameworkId;
     mySourceFiles     = new CompactMap <FileSystemPath, Pair <IPsiSourceFile, LifetimeDefinition> >();
 }
Exemplo n.º 3
0
 public AttributedTypesTrieCollection()
 {
     Roots = new CompactMap <string, AttributedTypesTrieNode>();
 }
 public ResolvedSymbols(int symbolUsesCount = 0)
 {
     Declarations = new CompactMap <int, FSharpResolvedSymbolUse>(symbolUsesCount / 4);
     Uses         = new CompactMap <int, FSharpResolvedSymbolUse>(symbolUsesCount);
 }