Exemple #1
0
        public CompilationContext(ICompilationJob job)
            : base(job)
        {
            Names = new CoyoteNameManager("PGEN_");

            FileName = $"{ProjectName}.cs";
            GlobalFunctionClassName = "GlobalFunctions";
        }
        public CompilationContext(ICompilationJob job)
            : base(job)
        {
            Names = new CoyoteNameManager("PGEN_");

            FileName            = $"{ProjectName}.cs";
            ProjectDependencies = job.ProjectDependencies.Count == 0? new List <string>()
            {
                ProjectName
            } : job.ProjectDependencies;
            GlobalFunctionClassName = "GlobalFunctions";
        }