16 using System.Collections.Generic;
19 namespace ErrorManagement {
35 aux.AppendFormat(
"The return statement of this method requires an expression.");
36 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
Represents an adapter of existing features in every error.
ExpressionExpectedError(Location loc)
Constructor of LValueError
Represents a error produced when the expression is not a lvalue.