Module Values.SpanSource

A span in a policy. The span consists of a start position (inclusive) and end position (exclusive).

Sourcetype nonrec t = {
  1. start : Position.t option;
    (*

    The start position of the span (inclusive).

    *)
  2. end_ : Position.t option;
    (*

    The end position of the span (exclusive).

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