/// <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()); }
public override string ToString() { return(Start.ToString() + " - " + End.ToString()); }
public InternalErrorException(Exception e, Location loc) : base(loc.ToString(), e) { }