class LSProtocol::InlineValueEvaluatableExpression
- LSProtocol::InlineValueEvaluatableExpression
- Reference
- Object
Overview
Provide an inline value through an expression evaluation. If only a range is specified, the expression will be extracted from the underlying document. An optional expression can be used to override the extracted expression.
@since 3.17.0
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
Instance Method Summary
-
#expression : String | Nil
If specified the expression overrides the extracted expression.
-
#range : Range
The document range for which the inline value applies.
Constructor Detail
Instance Method Detail
The document range for which the inline value applies. The range is used to extract the evaluatable expression from the underlying document.