Class SemanticTokensService


  • @Beta
    public class SemanticTokensService
    extends java.lang.Object
    A service for Semantic Tokens.
    Since:
    2.29
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addTokenModifiers()  
      protected void addTokenTypes()  
      java.util.List<java.lang.String> getTokenModifiers()  
      java.util.List<java.lang.String> getTokenTypes()  
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SemanticTokensService

        protected SemanticTokensService()
    • 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 document
        resource - the resource
        params - the params
        cancelIndicator - 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()