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