package dap

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Category : sig ... end
module Group : sig ... end
type t = {
  1. category : Category.t option;
    (*

    The output category. If not specified, 'console' is assumed.

    *)
  2. output : string;
    (*

    The output to report.

    *)
  3. group : Group.t option;
    (*

    Support for keeping an output log organized by grouping related messages.

    *)
  4. variables_reference : int option;
    (*

    If an attribute 'variablesReference' exists and its value is > 0, the output contains objects which can be retrieved by passing 'variablesReference' to the 'variables' request. The value should be less than or equal to 2147483647 (2^31-1).

    *)
  5. source : Source.t option;
    (*

    An optional source location where the output was produced.

    *)
  6. line : int option;
    (*

    An optional source location line where the output was produced.

    *)
  7. column : int option;
    (*

    An optional source location column where the output was produced.

    *)
  8. data : Any.t option;
    (*

    Optional data to report. For the 'telemetry' category the data will be sent to telemetry, for the other categories the data is shown in JSON format.

    *)
}
val make : ?category:Category.t option -> output:string -> ?group:Group.t option -> ?variables_reference:int option -> ?source:Source.t option -> ?line:int option -> ?column:int option -> ?data:Any.t option -> unit -> t
val to_yojson : t -> Yojson.Safe.t