solidity-common

The ocaml-solidity project
Library solidity-common
type 'kind t
val compare : 'kind t -> 'kind t -> int
val equal : 'kind t -> 'kind t -> bool
val empty : 'kind t
val root : int -> absolute t
val to_string : 'kind t -> string
val of_string_rel : string -> relative t
val of_string_abs : string -> absolute t
val of_ident_rel : Ident.t -> relative t
val of_ident_abs : Ident.t -> absolute t
val to_ident_list : 'kind t -> Ident.t list
val of_ident_list_rel : Ident.t list -> relative t
val of_ident_list_abs : Ident.t list -> absolute t
val append : 'kind t -> Ident.t -> 'kind t
val prepend : Ident.t -> relative t -> relative t
val is_empty : 'kind t -> bool
val first : 'kind t -> Ident.t
val last : 'kind t -> Ident.t
val split_first : 'kind t -> Ident.t * relative t
val split_last : 'kind t -> 'kind t * Ident.t
val printf : Format.formatter -> 'kind t -> unit