public abstract class AbstractDefinitionParticipant extends Object implements IDefinitionParticipant
| Constructor and Description |
|---|
AbstractDefinitionParticipant() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doFindDefinition(IDefinitionRequest request,
List<org.eclipse.lsp4j.LocationLink> locations,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Find the definition
|
void |
findDefinition(IDefinitionRequest request,
List<org.eclipse.lsp4j.LocationLink> locations,
org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
Find definition.
|
protected abstract boolean |
match(DOMDocument document)
Returns true if the definition support is applicable for the given document
and false otherwise.
|
public final void findDefinition(IDefinitionRequest request, List<org.eclipse.lsp4j.LocationLink> locations, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
IDefinitionParticipantfindDefinition in interface IDefinitionParticipantprotected abstract boolean match(DOMDocument document)
document - protected abstract void doFindDefinition(IDefinitionRequest request, List<org.eclipse.lsp4j.LocationLink> locations, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
request - locations - cancelChecker - Copyright © 2024. All rights reserved.