View Source GenLSP.Structures.InlineValueEvaluatableExpression (gen_lsp v0.10.0)

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

Link to this section Summary

Functions

Fields

  • range: The document range for which the inline value applies. The range is used to extract the evaluatable expression from the underlying document.
  • expression: If specified the expression overrides the extracted expression.

Link to this section Types

@type t() :: %GenLSP.Structures.InlineValueEvaluatableExpression{
  expression: String.t() | nil,
  range: GenLSP.Structures.Range.t()
}

Link to this section Functions

Link to this function

%GenLSP.Structures.InlineValueEvaluatableExpression{}

View Source (struct)

fields

Fields

  • range: The document range for which the inline value applies. The range is used to extract the evaluatable expression from the underlying document.
  • expression: If specified the expression overrides the extracted expression.