Module Values.MatchOffsetSource

The offset of a matched term.

Sourcetype nonrec t = {
  1. startOffset : Integer.t option;
    (*

    The 0-indexed number indicating the start position (inclusive) of a matched term.

    *)
  2. endOffset : Integer.t option;
    (*

    The 0-indexed number indicating the end position (exclusive) of a matched term.

    *)
}
Sourceval make : ?startOffset:??? -> ?endOffset:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.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