private void InitializeDebugInfo(int line, int col, int eline, int ecol, string file) { nextStep = new List <int>(); CodeModel.CodeFile sourceLocation = new CodeModel.CodeFile { FilePath = file }; ProtoCore.CodeModel.CodeRange range = new CodeModel.CodeRange { StartInclusive = new CodeModel.CodePoint { LineNo = line, CharNo = col, SourceLocation = sourceLocation }, EndExclusive = new CodeModel.CodePoint { LineNo = eline, CharNo = ecol, SourceLocation = sourceLocation } }; Location = range; }
private void InitializeDebugInfo(int line, int col, int eline, int ecol, string file) { nextStep = new List<int>(); CodeModel.CodeFile sourceLocation = new CodeModel.CodeFile { FilePath = file }; ProtoCore.CodeModel.CodeRange range = new CodeModel.CodeRange { StartInclusive = new CodeModel.CodePoint { LineNo = line, CharNo = col, SourceLocation = sourceLocation }, EndExclusive = new CodeModel.CodePoint { LineNo = eline, CharNo = ecol, SourceLocation = sourceLocation } }; Location = range; }