Class ErrorsToDiagnostics

java.lang.Object
org.ek9lang.lsp.ErrorsToDiagnostics

final class ErrorsToDiagnostics extends Object
Convert ErrorListener warnings and errors to LSP Diagnostics.
  • Constructor Details

    • ErrorsToDiagnostics

      ErrorsToDiagnostics()
  • Method Details

    • getEmptyDiagnostics

      org.eclipse.lsp4j.PublishDiagnosticsParams getEmptyDiagnostics(String generalIdentifierOfSource)
      Used as part of the language server to obtain an empty set of diagnostic information.
    • getErrorDiagnostics

      org.eclipse.lsp4j.PublishDiagnosticsParams getErrorDiagnostics(ErrorListener errorListener)
      Used as part of the language server to convert errors in to diagnostic information.