Module Values.PositionSource

A position in a policy.

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

    The line of the position, starting from 1.

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

    The column of the position, starting from 0.

    *)
  3. offset : Integer.t option;
    (*

    The offset within the policy that corresponds to the position, starting from 0.

    *)
}
Sourceval make : ?line:??? -> ?column:??? -> ?offset:??? -> 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