Method: LanguageServer::Protocol::Interface::InlayHint#label

Defined in:
lib/language_server/protocol/interface/inlay_hint.rb

#labelstring | InlayHintLabelPart[]

The label of this hint. A human readable string or an array of InlayHintLabelPart label parts.

Note that neither the string nor the label part can be empty.

Returns:



38
39
40
# File 'lib/language_server/protocol/interface/inlay_hint.rb', line 38

def label
  attributes.fetch(:label)
end