DiagnosticReporter

Interface for diagnostic reporting.

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

deprecation
bool deprecation(Loc loc, const(char)* format, va_list args, const(char)* p1, const(char)* p2)

Reports a deprecation message.

deprecationCount
int deprecationCount()
deprecationSupplemental
bool deprecationSupplemental(Loc loc, const(char)* format, va_list args, const(char)* p1, const(char)* p2)

Reports additional details about a deprecation message.

diagHandler
bool diagHandler(Loc loc, Color headerColor, const(char)* header, const(char)* format, va_list ap, const(char)* p1, const(char)* p2)
Undocumented in source. Be warned that the author may not have intended to support it.
error
bool error(Loc loc, const(char)* format, va_list args, const(char)* p1, const(char)* p2)

Reports an error message.

errorCount
int errorCount()
errorSupplemental
bool errorSupplemental(Loc loc, const(char)* format, va_list args, const(char)* p1, const(char)* p2)

Reports additional details about an error message.

warning
bool warning(Loc loc, const(char)* format, va_list args, const(char)* p1, const(char)* p2)

Reports a warning message.

warningCount
int warningCount()
warningSupplemental
bool warningSupplemental(Loc loc, const(char)* format, va_list args, const(char)* p1, const(char)* p2)

Reports additional details about a warning message.

Variables

prevHandler
DiagnosticHandler prevHandler;
Undocumented in source.

Meta