Class: RubyLsp::Requests::SemanticHighlighting::SemanticToken

Inherits:
Struct
  • Object
show all
Defined in:
lib/ruby_lsp/requests/semantic_highlighting.rb

Instance Attribute Summary collapse

Instance Attribute Details

#lengthObject

Returns the value of attribute length

Returns:

  • (Object)

    the current value of length



38
39
40
# File 'lib/ruby_lsp/requests/semantic_highlighting.rb', line 38

def length
  @length
end

#locationObject

Returns the value of attribute location

Returns:

  • (Object)

    the current value of location



38
39
40
# File 'lib/ruby_lsp/requests/semantic_highlighting.rb', line 38

def location
  @location
end

#modifierObject

Returns the value of attribute modifier

Returns:

  • (Object)

    the current value of modifier



38
39
40
# File 'lib/ruby_lsp/requests/semantic_highlighting.rb', line 38

def modifier
  @modifier
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



38
39
40
# File 'lib/ruby_lsp/requests/semantic_highlighting.rb', line 38

def type
  @type
end