15 using System.Collections.Generic;
18 namespace ErrorManagement
38 aux.AppendFormat(
"The declaration {0} already exists.", id);
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.
Represents a error produced when the declaration already exists.
DeclarationFoundError(string id, Location loc)
Constructor of DeclarationFoundError
System.Text.StringBuilder StringBuilder
Represents an adapter of existing features in every error.