Ejemplo n.º 1
0
 public CSToolsException(int en, SourceLineInfo s, string y, string m)
     : base(s.ToString() + ": " + m)
 {
     this.nExceptionNumber = en;
     this.slInfo           = s;
     this.sInput           = y;
 }
Ejemplo n.º 2
0
 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));
 }
Ejemplo n.º 3
0
 public string sourceLine(SourceLineInfo s)
 {
     return(this.m_buf.Substring(s.startOfLine, s.endOfLine - s.startOfLine));
 }
Ejemplo n.º 4
0
 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;
 }