DiagnosticsBuffer
Diagnostics Buffer
Provides the readable end of a DiagnosticsReceiver; supplies facilities for querying against diagnostics held from the receiver. In most cases, a receiver is also a buffer.
Inheritors
Functions
Link copied to clipboard
Return a sequence of all reported diagnostic info records for the lifetime of this buffer.
Link copied to clipboard
abstract fun query(consume: Boolean = false, criteria: Predicate<DiagnosticInfo>): Sequence<DiagnosticInfo>
Return a sequence of all reported diagnostic info records for the lifetime of this buffer that match the given criteria.
abstract fun query(lang: String, tool: String? = null, consume: Boolean = false): Sequence<DiagnosticInfo>
Return a sequence of all reported diagnostic info records for the lifetime of this buffer that match the given language and/or tool.