java.lang.Object
com.github._1c_syntax.bsl.languageserver.context.computer.DiagnosticComputer

@Component public abstract class DiagnosticComputer extends Object
Вычислитель диагностик для документа.

Абстрактный класс, обеспечивающий параллельное вычисление диагностик всеми зарегистрированными анализаторами с обработкой ошибок.

  • Constructor Details

    • DiagnosticComputer

      public DiagnosticComputer()
  • Method Details

    • compute

      public List<Diagnostic> compute(DocumentContext documentContext)
      Вычислить все диагностики для документа.
      Parameters:
      documentContext - Контекст документа для анализа
      Returns:
      Список найденных диагностик
    • diagnostics

      @Lookup("diagnostics") protected abstract List<BSLDiagnostic> diagnostics(DocumentContext documentContext)