Exemplo n.º 1
0
        /// <summary>
        /// 对语法树进行编译
        /// </summary>
        internal virtual Assembly Compile()
        {
            if (UseShareLibraries)
            {
                Compiler.Domain.UseShareLibraries();
            }
            Exceptions = null;
            var trees = Syntax.TreeCache.Values;

            Syntax.Clear();
            return(Compiler.ComplieToAssembly(trees));
        }