org.eclipse.xtext.diagnostics
Interface IDiagnosticConsumer

All Known Implementing Classes:
ListBasedDiagnosticConsumer

public interface IDiagnosticConsumer

Author:
Sebastian Zarnekow - Initial contribution and API

Method Summary
 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 be null or Severity.INFO.

hasConsumedDiagnostics

boolean hasConsumedDiagnostics(Severity severity)
Parameters:
severity - the severity of the diagnostic. May neither be null or Severity.INFO.