static void Main(string[] args) { List <List <Elem> > listOfTables = new List <List <Elem> >(); Console.WriteLine("<------------------------------ Type Analysis Test Stub ----------------------->"); Console.WriteLine(); List <string> files = ProcessCommandline(args); TypeAnalysis typeAnalysisObj = new TypeAnalysis(files); listOfTables = typeAnalysisObj.generateTypeTable(); displayRequirement1(listOfTables); Console.ReadLine(); }
// public List<List<string>> static getTypeTable() static void Main(string[] args) { List <CsNode <string, string> > nodes = new List <CsNode <string, string> >(); List <List <Elem> > listOfTables = new List <List <Elem> >(); Console.WriteLine("<------------------------------ Demonstrating Project 3 : Type-Based Package Dependency Analysis ----------------------->"); Console.WriteLine(); ShowCommandLine(args); List <string> files = ProcessCommandline(args); TypeAnalysis typeAnalysisObj = new TypeAnalysis(files); listOfTables = typeAnalysisObj.generateTypeTable(); nodes = DependencyAnalysis.GetDependency(listOfTables, files); GraphTest gt = new GraphTest(); List <string> sccNodes = gt.Tarjan(nodes); displayRequirement1(listOfTables); displayRequirement2(nodes); displayRequirement3(sccNodes); Console.ReadLine(); }