package dap

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. id : int;
    (*

    Unique identifier for a goto target. This is used in the goto request.

    *)
  2. label : string;
    (*

    The name of the goto target (shown in the UI).

    *)
  3. line : int;
    (*

    The line of the goto target.

    *)
  4. column : int option;
    (*

    An optional column of the goto target.

    *)
  5. end_line : int option;
    (*

    An optional end line of the range covered by the goto target.

    *)
  6. end_column : int option;
    (*

    An optional end column of the range covered by the goto target.

    *)
  7. instruction_pointer_reference : string option;
    (*

    Optional memory reference for the instruction pointer value represented by this target.

    *)
}

A GotoTarget describes a code location that can be used as a target in the 'goto' request. The possible goto targets can be determined via the 'gotoTargets' request.

val make : id:int -> label:string -> line:int -> ?column:int option -> ?end_line:int option -> ?end_column:int option -> ?instruction_pointer_reference:string option -> unit -> t
val to_yojson : t -> Yojson.Safe.t
OCaml

Innovation. Community. Security.