コード例 #1
0
        public static ParseCacheView ParsePhobos(bool ufcs = true)
        {
            var dir = "/usr/include/d";

            GlobalParseCache.ParseTaskFinished += pc_FinishedParsing;
            GlobalParseCache.BeginAddOrUpdatePaths(new[] { dir }, false);

            GlobalParseCache.WaitForFinish();

            return(new ParseCacheView(new[] { dir }));
        }