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)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
range
The document range for which the inline value applies. The range is used to extract the variable name from the underlying document.