Method: RubyLsp::Requests::SemanticHighlighting::SemanticToken#initialize

Defined in:
lib/ruby_lsp/requests/semantic_highlighting.rb

#initialize(location:, length:, type:, modifier:) ⇒ SemanticToken

Returns a new instance of SemanticToken.


99
100
101
102
103
104
# File 'lib/ruby_lsp/requests/semantic_highlighting.rb', line 99

def initialize(location:, length:, type:, modifier:)
  @location = location
  @length = length
  @type = type
  @modifier = modifier
end