Skip to content

LspPositionRange

[Source]

See: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#range

class val LspPositionRange

Constructors

from_single_pos

[Source]

new val from_single_pos(
  pos: LspPosition val)
: LspPositionRange val^

Parameters

Returns


create

[Source]

new val create(
  start_pos: LspPosition val,
  end_pos: LspPosition val)
: LspPositionRange val^

Parameters

Returns


Public Functions

to_json

[Source]

fun box to_json()
: (F64 val | I64 val | Bool val | 
    None val | String val | JsonArray val | 
    JsonObject val)

Returns