Module Source_command.Arguments

type t = {
source : Source.t option;

Specifies the source content to load. Either source.path or source.sourceReference must be specified.

source_reference : int;

The reference to the source. This is the same as source.sourceReference. This is provided for backward compatibility since old backends do not understand the 'source' attribute.

}

Arguments for 'source' request.

val make : ?⁠source:Source.t option -> source_reference:int -> unit -> t
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or