View Source GenLSP.Structures.ColorPresentationParams (gen_lsp v0.10.0)
Parameters for a {@link ColorPresentationRequest}.
Link to this section Summary
Functions
Fields
- text_document: The text document.
- color: The color to request presentations for.
- range: The range where the color would be inserted. Serves as a context.
- work_done_token: An optional token that a server can use to report work done progress.
- partial_result_token: An optional token that a server can use to report partial results (e.g. streaming) to the client.
Link to this section Types
@type t() :: %GenLSP.Structures.ColorPresentationParams{ color: GenLSP.Structures.Color.t(), partial_result_token: GenLSP.TypeAlias.ProgressToken.t() | nil, range: GenLSP.Structures.Range.t(), text_document: GenLSP.Structures.TextDocumentIdentifier.t(), work_done_token: GenLSP.TypeAlias.ProgressToken.t() | nil }
Link to this section Functions
fields
Fields
- text_document: The text document.
- color: The color to request presentations for.
- range: The range where the color would be inserted. Serves as a context.
- work_done_token: An optional token that a server can use to report work done progress.
- partial_result_token: An optional token that a server can use to report partial results (e.g. streaming) to the client.