Exemplo n.º 1
0
        public override ImmutableArray <IRequestHandler> CreateRequestHandlers()
        {
            var semanticTokensCache = new SemanticTokensCache();

            return(ImmutableArray.Create <IRequestHandler>(
                       new SemanticTokensHandler(semanticTokensCache),
                       new SemanticTokensEditsHandler(semanticTokensCache),
                       new SemanticTokensRangeHandler(semanticTokensCache)));
        }
 public SemanticTokensEditsHandler(SemanticTokensCache tokensCache)
 {
     _tokensCache = tokensCache;
 }
Exemplo n.º 3
0
 public SemanticTokensRangeHandler(SemanticTokensCache tokensCache)
 {
     _tokensCache = tokensCache;
 }