Module Values.BlockReferenceSource

A reference to a block.

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

    Unique identifier for the block.

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

    Offset of the start of the block within its parent block.

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

    Offset of the end of the block within its parent block.

    *)
  4. childBlocks : ListOfChildBlocks.t option;
    (*

    List of child blocks within this block.

    *)
}
Sourceval make : ?blockId:??? -> ?beginOffset:??? -> ?endOffset:??? -> ?childBlocks:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `List of [> `Structure of (string * [> `Integer of Integer.t | `String of String_.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