15 using System.Collections.Generic;
18 namespace ErrorManagement
38 aux.AppendFormat(
"An error occurred while the file {0} is parsing.\r\n{1}", loc.FileName, description);
39 this.Description = aux.ToString();
This class encapsulates a location in a specific file. Implements an Inmutable pattern. So it can be used in any context, that is his internal fields never change.
System.Text.StringBuilder StringBuilder
ParserError(Location loc, string description)
Constructor of ParserError.
Represents the error occurred while the source code is parsing.
Represents an adapter of existing features in every error.