public TextDocumentHandler(ILogger <TextDocumentHandler> logger, Logjam foo,
                            ILanguageServerConfiguration configuration,
                            HashNamer hashNamer
                            )
 {
     _logger        = logger;
     _configuration = configuration;
     this.hashNamer = hashNamer;
 }
Exemple #2
0
 public SignatureHelper(HashNamer namer, Diagnoser diagnoser) : base
     (
         new SignatureHelpRegistrationOptions()
 {
     DocumentSelector    = DocumentSelector.ForLanguage("jai"),
     TriggerCharacters   = new Container <string>("(", ","),
     RetriggerCharacters = new Container <string>(",", ")")
 }
     )
 {
     this.namer     = namer;
     this.diagnoser = diagnoser;
 }
Exemple #3
0
 public SemanticTokensHandler(ILogger <SemanticTokensHandler> logger, HashNamer namer, Diagnoser diagnoser) : base(
         new SemanticTokensRegistrationOptions
 {
     DocumentSelector = DocumentSelector.ForLanguage("jai"),
     Legend           = new SemanticTokensLegend()
     {
         TokenTypes     = typeNames,
         TokenModifiers = modifierNames,
     },
     Full = new SemanticTokensCapabilityRequestFull
     {
         Delta = true
     },
     Range = true
 }
         )
 {
     _logger        = logger;
     this.namer     = namer;
     this.diagnoser = diagnoser;
 }
Exemple #4
0
 public Definer(ILogger <TextDocumentHandler> logger, HashNamer hashNamer)
 {
     _logger        = logger;
     this.hashNamer = hashNamer;
 }