during lexing. It may make sense to only check this when empty returns true.
DLexer.messages
const(Message[]) messages() const @propertyReturns
An array of all of the warnings and errors generated so far