public static int Main(string[] args) { if (args.Length == 0) { Console.WriteLine ("MonoDevelop Code Completion Database Generation Tool"); Console.WriteLine ("Usage: dbgen <destDirectory> [<assemblyName> | <assemblyPath>]"); return 0; } ServiceManager.AddService (new MonodocService()); DefaultParserService parserService = new DefaultParserService (); parserService.GenerateAssemblyDatabase (args[0], args[1]); return 0; }
public ParserDatabase(DefaultParserService parserService) { this.parserService = parserService; combineEntryAddedHandler = new CombineEntryEventHandler (OnCombineEntryAdded); combineEntryRemovedHandler = new CombineEntryEventHandler (OnCombineEntryRemoved); nameTable = new StringNameTable (sharedNameTable); }
internal ParserContext(DefaultParserService parserService, ParserDatabase pdb, CodeCompletionDatabase db) { this.parserService = parserService; this.pdb = pdb; this.db = db; }
public void GenerateDatabase(string baseDir, string assemblyName) { if (ServiceManager.GetService (typeof(MonodocService)) == null) ServiceManager.AddService (new MonodocService()); DefaultParserService parserService = new DefaultParserService (); parserService.GenerateAssemblyDatabase (baseDir, assemblyName); }