class LSProtocol::InlineValueVariableLookup
- LSProtocol::InlineValueVariableLookup
- Reference
- Object
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
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(case_sensitive_lookup : Bool | Nil, range : Range | Nil, variable_name : String | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#case_sensitive_lookup : Bool
How to perform the lookup.
-
#range : Range
The document range for which the inline value applies.
-
#variable_name : String | Nil
If specified the name of the variable to look up.
Constructor Detail
def self.new(case_sensitive_lookup : Bool | Nil, range : Range | Nil, variable_name : String | Nil = nil)
#
Instance Method Detail
The document range for which the inline value applies. The range is used to extract the variable name from the underlying document.