Beispiel #1
0
        public static AttributedTypesTrieCollection Build(IPsiSourceFile sourceFile, AttributedTypesCacheBuilder builder)
        {
            var roots = new AttributedTypesTrieCollection();

            foreach (var file in sourceFile.EnumerateDominantPsiFiles())
            {
                builder.BuildFile(file, roots);
            }

            return(roots);
        }