class LSProtocol::InlineValueVariableLookup

Overview

Provide inline value through a variable lookup. If only a range is specified, the variable name will be extracted from the underlying document. An optional variable name can be used to override the extracted name.

@since 3.17.0

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(case_sensitive_lookup : Bool | Nil, range : Range | Nil, variable_name : String | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def case_sensitive_lookup : Bool #

How to perform the lookup.


[View source]
def range : Range #

The document range for which the inline value applies. The range is used to extract the variable name from the underlying document.


[View source]
def variable_name : String | Nil #

If specified the name of the variable to look up.


[View source]