org.eclipse.xtext.diagnostics
Interface IDiagnosticConsumer
- All Known Implementing Classes:
- ListBasedDiagnosticConsumer
public interface IDiagnosticConsumer
- Author:
- Sebastian Zarnekow - Initial contribution and API
consume
void consume(Diagnostic diagnostic,
Severity severity)
- Parameters:
severity
- the severity of the diagnostic. May neither be null
or Severity.INFO
.
hasConsumedDiagnostics
boolean hasConsumedDiagnostics(Severity severity)
- Parameters:
severity
- the severity of the diagnostic. May neither be null
or Severity.INFO
.