Example #1
0
 protected Processor()
 {
     this.Store             = new Store();
     this.Extractor         = new Extractor(this);
     this.Preparer          = new Preparer(this);
     this.JsDuck            = new JsDuck(this);
     this.Reader            = new Reader(this);
     this.Consolidator      = new Consolidator(this);
     this.SpecialsGenerator = new SpecialsGenerator(this);
     this.TypesChecker      = new TypesChecker(this);
     this.ResultsGenerator  = new ResultsGenerator(this);
     this.Exceptions        = new List <Exception>();
     this.JsDuckErrors      = new List <string>();
     this.ProcessingInfo    = new ProcessingInfo();
 }
Example #2
0
 protected void processConsolidateModules()
 {
     this.TypesChecker              = null;
     this.allClassesCount           = (double)this.Store.ExtAllClasses.Count;
     this.ProcessingInfo.StageIndex = 14;
     this.ProcessingInfo.StageName  = "Optimizing classes into namespace groups.";
     this.Consolidator.OptimalizeNamespacesIntoGroups(
         this.progressHandlerCycleProcessing
         );
     this.ProcessingInfo.StageIndex = 15;
     this.ProcessingInfo.StageName  = "Consolidating classes into optimalized namespace groups.";
     this.Consolidator.ConsolidateClassesIntoNsGroups(
         this.progressHandlerCycleProcessing
         );
     this.ProcessingInfo.StageIndex = 16;
     this.ProcessingInfo.StageName  = "Ordering classes in optimalized namespace groups.";
     this.Consolidator.OrderClassesInNsGroupsByModuleNames(
         this.progressHandlerOrderingNsGroups
         );
 }