Class DiagnosticStorage
java.lang.Object
com.github._1c_syntax.bsl.languageserver.diagnostics.DiagnosticStorage
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addDiagnostic
(int startLine, int startChar, int endLine, int endChar) protected void
addDiagnostic
(SourceDefinedSymbol sourceDefinedSymbol) Добавляет диагностику по ссылке на символ, используя в качестве области - область символаprotected void
protected void
addDiagnostic
(BSLParserRuleContext node, String diagnosticMessage) void
addDiagnostic
(BSLParserRuleContext node, String diagnosticMessage, List<DiagnosticRelatedInformation> relatedInformation) protected void
addDiagnostic
(BSLParserRuleContext node, List<DiagnosticRelatedInformation> relatedInformation) protected void
addDiagnostic
(Token token) protected void
addDiagnostic
(Token token, String diagnosticMessage) void
addDiagnostic
(Token token, String diagnosticMessage, List<DiagnosticRelatedInformation> relatedInformation) void
addDiagnostic
(Token token, List<DiagnosticRelatedInformation> relatedInformation) protected void
addDiagnostic
(Token startToken, Token endToken) void
addDiagnostic
(ParseTree tree) protected void
addDiagnostic
(TerminalNode terminalNode) protected void
addDiagnostic
(TerminalNode terminalNode, String diagnosticMessage) protected void
addDiagnostic
(TerminalNode startTerminalNode, TerminalNode stopTerminalNode) protected void
addDiagnostic
(Range range) protected void
addDiagnostic
(Range range, String diagnosticMessage) void
addDiagnostic
(Range range, String diagnosticMessage, List<DiagnosticRelatedInformation> relatedInformation) void
addDiagnostic
(Range range, List<DiagnosticRelatedInformation> relatedInformation) void
-
Method Details
-
getDiagnostics
-
clearDiagnostics
public void clearDiagnostics() -
addDiagnostic
-
addDiagnostic
-
addDiagnostic
protected void addDiagnostic(int startLine, int startChar, int endLine, int endChar) -
addDiagnostic
-
addDiagnostic
-
addDiagnostic
-
addDiagnostic
-
addDiagnostic
-
addDiagnostic
-
addDiagnostic
-
addDiagnostic
-
addDiagnostic
protected void addDiagnostic(BSLParserRuleContext node, List<DiagnosticRelatedInformation> relatedInformation) -
addDiagnostic
-
addDiagnostic
public void addDiagnostic(BSLParserRuleContext node, String diagnosticMessage, List<DiagnosticRelatedInformation> relatedInformation) -
addDiagnostic
public void addDiagnostic(Token token, String diagnosticMessage, List<DiagnosticRelatedInformation> relatedInformation) -
addDiagnostic
-
addDiagnostic
public void addDiagnostic(Range range, String diagnosticMessage, @Nullable List<DiagnosticRelatedInformation> relatedInformation) -
addDiagnostic
-
addDiagnostic
Добавляет диагностику по ссылке на символ, используя в качестве области - область символа- Parameters:
sourceDefinedSymbol
- ссылка на метод
-