Class SemanticTokensService
- java.lang.Object
-
- org.eclipse.xtext.ide.server.semantictokens.SemanticTokensService
-
@Beta public class SemanticTokensService extends java.lang.ObjectA service for Semantic Tokens.- Since:
- 2.29
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSemanticTokensService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddTokenModifiers()protected voidaddTokenTypes()java.util.List<java.lang.String>getTokenModifiers()java.util.List<java.lang.String>getTokenTypes()org.eclipse.lsp4j.SemanticTokenssemanticTokensFull(Document document, org.eclipse.xtext.resource.XtextResource resource, org.eclipse.lsp4j.SemanticTokensParams params, org.eclipse.xtext.util.CancelIndicator cancelIndicator)Semantic tokens full.
-
-
-
Method Detail
-
addTokenTypes
protected void addTokenTypes()
-
addTokenModifiers
protected void addTokenModifiers()
-
semanticTokensFull
public org.eclipse.lsp4j.SemanticTokens semanticTokensFull(Document document, org.eclipse.xtext.resource.XtextResource resource, org.eclipse.lsp4j.SemanticTokensParams params, org.eclipse.xtext.util.CancelIndicator cancelIndicator)
Semantic tokens full.- Parameters:
document- the documentresource- the resourceparams- the paramscancelIndicator- the cancel indicator- Returns:
- the semantic tokens
-
getTokenTypes
public java.util.List<java.lang.String> getTokenTypes()
-
getTokenModifiers
public java.util.List<java.lang.String> getTokenModifiers()
-
-