Class DiagnosticComputer
java.lang.Object
com.github._1c_syntax.bsl.languageserver.context.computer.DiagnosticComputer
Вычислитель диагностик для документа.
Абстрактный класс, обеспечивающий параллельное вычисление диагностик всеми зарегистрированными анализаторами с обработкой ошибок.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompute(DocumentContext documentContext) Вычислить все диагностики для документа.protected abstract List<BSLDiagnostic>diagnostics(DocumentContext documentContext)
-
Constructor Details
-
DiagnosticComputer
public DiagnosticComputer()
-
-
Method Details
-
compute
Вычислить все диагностики для документа.- Parameters:
documentContext- Контекст документа для анализа- Returns:
- Список найденных диагностик
-
diagnostics
@Lookup("diagnostics") protected abstract List<BSLDiagnostic> diagnostics(DocumentContext documentContext)
-