Class SDBLJoinDocumentHighlightSupplier
java.lang.Object
com.github._1c_syntax.bsl.languageserver.documenthighlight.AbstractSDBLDocumentHighlightSupplier
com.github._1c_syntax.bsl.languageserver.documenthighlight.SDBLJoinDocumentHighlightSupplier
- All Implemented Interfaces:
DocumentHighlightSupplier
@Component
public class SDBLJoinDocumentHighlightSupplier
extends AbstractSDBLDocumentHighlightSupplier
Поставщик подсветки для конструкций JOIN в SDBL-запросах.
При клике на ключевые слова JOIN (LEFT/RIGHT/FULL/INNER JOIN) или ON/ПО подсвечиваются все связанные ключевые слова данного соединения.
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractSDBLDocumentHighlightSupplier
AbstractSDBLDocumentHighlightSupplier.QueryTokenInfoNested classes/interfaces inherited from interface DocumentHighlightSupplier
DocumentHighlightSupplier.TerminalNodeInfo -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDocumentHighlight(DocumentHighlightParams params, DocumentContext documentContext, Optional<DocumentHighlightSupplier.TerminalNodeInfo> terminalNodeInfo) Получить список подсветок для элементов, связанных с позицией курсора.Methods inherited from class AbstractSDBLDocumentHighlightSupplier
addTerminalHighlight, addTokenHighlight, findTokenInQueries
-
Constructor Details
-
SDBLJoinDocumentHighlightSupplier
public SDBLJoinDocumentHighlightSupplier()
-
-
Method Details
-
getDocumentHighlight
public List<DocumentHighlight> getDocumentHighlight(DocumentHighlightParams params, DocumentContext documentContext, Optional<DocumentHighlightSupplier.TerminalNodeInfo> terminalNodeInfo) Description copied from interface:DocumentHighlightSupplierПолучить список подсветок для элементов, связанных с позицией курсора.- Parameters:
params- Параметры запроса document highlightdocumentContext- Контекст документаterminalNodeInfo- Информация о терминальном узле на позиции курсора- Returns:
- Список подсветок связанных элементов, или пустой список если нет совпадений
-