DiagnosticSet

Stores a set of diagnostics.

Members

Functions

add
void add(Diagnostic diagnostic)

Adds the given diagnostic to the set of diagnostics.

addSupplemental
void addSupplemental(Diagnostic diagnostic)

Adds the given supplemental diagnostic to the last added diagnostic.

empty
bool empty()
front
const(Diagnostic) front()
length
size_t length()
opIndex
const(Diagnostic) opIndex(size_t index)

Returns the diagnostic stored at the given index.

opOpAssign
DiagnosticSet opOpAssign(Diagnostic diagnostic)

Adds the given diagnostic to the set of diagnostics.

popFront
void popFront()

Advances the range forward.

toString
string toString()

Meta