Пример #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 (), symbol);
		}
Пример #2
0
		public InternalErrorException (Exception e, Location loc)
			: base (loc.ToString (), e)
		{
		}
Пример #3
0
 public override string ToString()
 {
     return(Start.ToString() + " - " + End.ToString());
 }
Пример #4
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());
 }
Пример #5
0
 public InternalErrorException(Exception e, Location loc)
     : base(loc.ToString(), e)
 {
 }
Пример #6
0
 public override string ToString()
 {
     return(Location.ToString() + Value);
 }