class SyntaxTree::LanguageServer::InlayHints::Hint
This represents a hint that is going to be displayed in the editor.
def initialize(line:, character:, label:)
def initialize(line:, character:, label:) @line = line @character = character @label = label end
def to_json(*opts)
def to_json(*opts) { position: { line: line, character: character }, label: label }.to_json(*opts) end