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(); }
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 = ""; }