Example #1
0
        public CompileResult()
        {
            CompiledProgram = new Program();
            CompilationUnitList = new List<CompilationUnit>();
            CommandPositionChanges = new CommandPositionChanges();
            PsiFunctionsVariablesNodeList = new List<PsiFunctionsVariablesNode>();

            UserDefinedFunctionInfoList = new List<UserDefinedFunctionInfo>();
            UserDefinedTypeInfoList = new List<UserDefinedTypeInfo>();
            GlobalVariableInfoList = new List<GlobalVariableInfo>();

            ProgramPath = "";

            CompilerMessages = new MessageList();
        }
Example #2
0
        public CompilerDTO()
        {
            Program = ProgramBuilder.Create();

            CompilationUnitList = new List<CompilationUnit>();

            UserDefinedTypeInfoList = new List<UserDefinedTypeInfo>();
            UserDefinedFunctionInfoList = new List<UserDefinedFunctionInfo>();
            GlobalVariableInfoList = new List<GlobalVariableInfo>();

            CommandPositionChanges = new CommandPositionChanges();

            CompilerMessages = new MessageList();

            ProgramPath = "";
        }