Module Toml.Meta

TOML node metadata.

type t

The type for node metadata.

val none : t

none has Tloc.none for tloc and "" for id.

val id : t -> string

id m is a client defined identifier.

val tloc : t -> Serialkit_text.Tloc.t

tloc m is the source location of the node it is attached to.

val v : ?init:t -> ?id:string -> ?tloc:Serialkit_text.Tloc.t -> unit -> t

v ~init ?id ?tloc () has the values of ~init (defaults to none) overriden by specified arguments.