16 using System.Collections.Generic;
19 namespace ErrorManagement {
46 get {
return "Semantic error"; }
53 get {
return this.description; }
54 set { this.description = value; }
67 #region Equals&GetHashCode
68 public override bool Equals(
object obj) {
string Description
Gets the description for the error type.
override bool Equals(object obj)
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.
ErrorAdapter(Location location)
string ErrorType
Gets the name for the error type.
Interfaz for the different error types.
Represents an adapter of existing features in every error.
override int GetHashCode()
override bool Equals(object obj)
override int GetHashCode()