public CSToolsException(int en, SourceLineInfo s, string y, string m) : base(s.ToString() + ": " + m) { this.nExceptionNumber = en; this.slInfo = s; this.sInput = y; }
public string sourceLine(SourceLineInfo s) { // This is the sourceLine after removal of comments // The position in this line is s.charPosition // If you want the comments as well, then you should re-read the source file // and the position in the line is s.rawCharPosition return(m_buf.Substring(s.startOfLine, s.endOfLine - s.startOfLine)); }
public string sourceLine(SourceLineInfo s) { return(this.m_buf.Substring(s.startOfLine, s.endOfLine - s.startOfLine)); }
public CSToolsStopException(int en, SourceLineInfo s, string y, string m) : base(en, s, y, m) { }
/// <exclude/> public string sourceLine(SourceLineInfo s) { // This is the sourceLine after removal of comments // The position in this line is s.charPosition // If you want the comments as well, then you should re-read the source file // and the position in the line is s.rawCharPosition return m_buf.Substring(s.startOfLine,s.endOfLine-s.startOfLine); }
/// <exclude/> public CSToolsStopException(int en,SourceLineInfo s, string y, string m) : base(en,s,y,m) { }
/// <exclude/> public CSToolsException(int en,SourceLineInfo s, string y, string m) : base(s.ToString()+": "+m) { nExceptionNumber = en; slInfo = s; sInput = y; }