Adds the given diagnostic to the set of diagnostics.
Adds the given supplemental diagnostic to the last added diagnostic.
Returns the diagnostic stored at the given index.
Adds the given diagnostic to the set of diagnostics.
Advances the range forward.
Stores a set of diagnostics.