Esempio n. 1
0
 /// <summary>
 /// In most error cases is very useful to have information about symbol that caused the error.
 /// Call this method before you call Report.Error when it makes sense.
 /// </summary>
 public void SymbolRelatedToPreviousError(Location loc, string symbol)
 {
     SymbolRelatedToPreviousError(loc.ToString());
 }
Esempio n. 2
0
 public override string ToString()
 {
     return(Start.ToString() + " - " + End.ToString());
 }
Esempio n. 3
0
 public InternalErrorException(Exception e, Location loc)
     : base(loc.ToString(), e)
 {
 }