Message = enum
invalidIndentation = "Invalid indentation [InvalidIndentation]",
unexpectedToken = "Unexpected token $ [UnexpectedToken]",
undeclaredVariable = "Undeclared variable $ [UndeclaredVariable]", invalidAccessorStorage = "Invalid accessor storage $ for $ [InvalidAccessorStorage]",
varRedefine = "Attempt to redefine variable $ [VarRedefine]", varImmutable = "Attempt to reassign value to immutable constant $ [VarImmutable]",
fnRedefine = "Attempt to redefine function $ [RedefineFunction]",
fnUndeclared = "Undeclared function $ [UndeclaredFunction]", fnReturnMissingCommand = "Expression $ is of type $ and has to be used or discarded [UseOrDiscard]",
fnReturnVoid = "Function $ has no return type [VoidFunction]",
fnExtraArg = "Extra arguments given. Got $ expected $ [ExtraArgs]",
badIndentation = "Nestable statement requires indentation [BadIndentation]",
invalidContext = "Invalid $ in this context [InvalidContext]", invalidViewLoader = "Invalid use of `@view` in this context. Use a layout instead [InvalidViewLoader]",
duplicateViewLoader = "Duplicate `@view` loader [DuplicateViewLoaded]",
typeMismatch = "Type mismatch. Got $ expected $ [TypeMismatch]",
duplicateAttribute = "Duplicate HTML attribute $ [DuplicateAttribute]",
duplicateField = "Duplicate field $ [DuplicateField]",
undeclaredField = "Undeclared field $ [UndeclaredField]",
invalidIterator = "Invalid iterator [InvalidIterator]",
indexDefect = "Index $ not in $ [IndexDefect]",
importNotFound = "Cannot open file: $ [ImportNotFound]",
importCircularError = "Circular import detected: $ [CircularImport]",
eof = "EOF reached before closing $ [EOF]", internalError = "$"