class

LSProtocol::InlineValueVariableLookup

Inherits JSON::Serializable / Reference / Object

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

Constructors

new(case_sensitive_lookup : Bool | Nil, range : Range | Nil, variable_name : String | Nil = nil)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

case_sensitive_lookup

How to perform the lookup.

Source
range

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

Source
variable_name

If specified the name of the variable to look up.

Source