public static Dictionary <Uri, ParseResult> ParseSrc(string srcPath, Dictionary <Uri, ParseResult> externals = null)
        {
            var compiler = new FastCompiler();

            compiler.externals = externals;
            return(compiler.ParseSrcInternal(srcPath, 1));
        }
        public static ParseResult Parse(string code, Uri src = null, bool detailed = false, IEnumerable <ParseResult> previouslyParsedFiles = null)
        {
            var compiler = new FastCompiler();
            var result   = compiler.ParseText(code, detailed, previouslyParsedFiles);

            if (src != null)
            {
                result.Source = src;
                compiler.UpdateParserSymbolSource(result);
            }
            return(result);
        }
        public static Dictionary <Uri, ParseResult> ParseSrc(string srcPath, int maxConcurrency)
        {
            var compiler = new FastCompiler();

            return(compiler.ParseSrcInternal(srcPath, maxConcurrency));
        }
        public static ParseResult Load(string filename, bool detailed = false, IEnumerable <ParseResult> previouslyParsedFiles = null)
        {
            var compiler = new FastCompiler();

            return(compiler.LoadFile(filename, detailed, previouslyParsedFiles));
        }