Example #1
0
            public static GeneralOptions ParseCommandLineArguments(string[] args, Dictionary <string, IMethodAnalysis> analyzers, Dictionary <string, IClassAnalysis> classanalyzers, out string[] nonGeneralArguments)
            {
                var options = new FilteringGeneralOptions(args, analyzers, classanalyzers);

                nonGeneralArguments = options.GetNonGeneralArguments();
                return(options);
            }
Example #2
0
        private NewCCI2Driver(string[] args, ISimpleLineWriter output)
        {
            /* TODO: argsForWorker
             * We currently keep all the arguments except the general arguments
             * But we should also remove arguments like -select, -namespaceSelect, -typenameSelect, -memberNameSelect -analyzeFrom, -analyzeTo (or translate them)
             */

            this.options = FilteringGeneralOptions.ParseCommandLineArguments(args, this.methodAnalyzers, this.classAnalyzers, out this.argsForWorker);

            this.output = output;
        }
Example #3
0
 public static GeneralOptions ParseCommandLineArguments(string[] args, Dictionary<string, IMethodAnalysis> analyzers, Dictionary<string, IClassAnalysis> classanalyzers, out string[] nonGeneralArguments)
 {
   var options = new FilteringGeneralOptions(args, analyzers, classanalyzers);
   nonGeneralArguments = options.GetNonGeneralArguments();
   return options;
 }