Module Values.TextWithHighlightsSource

Provides text and information about where to highlight the text.

Sourcetype nonrec t = {
  1. text : String_.t option;
    (*

    The text to display to the user.

    *)
  2. highlights : HighlightList.t option;
    (*

    The beginning and end of the text that should be highlighted.

    *)
}
Sourceval make : ?text:??? -> ?highlights:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of Integer.t ]) list ] list | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t