Beispiel #1
0
        //-------------<Collect type information>-----------
        public void CollectTypeInfo()
        {
            TypeAnalyzer typeAnalyzer = new TypeAnalyzer();

            typeAnalyzer.AddFileCollection(path_);
            typeAnalyzer.AnalyzeFiles();
            repo_      = Repository.getInstance();
            typetable_ = repo_.typeTable;
        }
Beispiel #2
0
 static void Main(string[] args)
 {
     try
     {
         if (args.Length == 0)
         {
             return;
         }
         TypeAnalyzer typeAn = new TypeAnalyzer(args[0]);
         typeAn.getTypeTable();
     }
     catch (Exception ex)
     {
         Console.Write("\n\n  {0}\n", ex.Message);
     }
 }