Package org.eclipse.xtext.diagnostics
Interface IDiagnosticConsumer
-
- All Known Implementing Classes:
ListBasedDiagnosticConsumer
public interface IDiagnosticConsumer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
consume(Diagnostic diagnostic, Severity severity)
boolean
hasConsumedDiagnostics(Severity severity)
-
-
-
Method Detail
-
consume
void consume(Diagnostic diagnostic, Severity severity)
- Parameters:
severity
- the severity of the diagnostic. May neither benull
orSeverity.INFO
.
-
hasConsumedDiagnostics
boolean hasConsumedDiagnostics(Severity severity)
- Parameters:
severity
- the severity of the diagnostic. May neither benull
orSeverity.INFO
.
-
-