Module Shared_ast.ScopeName

type t
type info = Catala_utils__Uid.Module.t list * string Catala_utils.Mark.pos
val map_info : (info -> info) -> t -> t
val compare : t -> t -> int
val equal : t -> t -> bool
val format : Stdlib.Format.formatter -> t -> unit
val to_string : t -> string
val id : t -> int

Returns the unique ID of the identifier

module Set : Stdlib.Set.S with type elt = t
module Map : Catala_utils.Map.S with type key = t
val fresh : Catala_utils__Uid.Module.t list -> string Catala_utils.Mark.pos -> t
val path : t -> Catala_utils__Uid.Module.t list
val get_info : t -> string Catala_utils.Mark.pos
val base : t -> string

Returns only the base ident name, while to_string includes the path prefix

val hash : strip:Catala_utils__Uid.Module.t list -> t -> Catala_utils.Hash.t

strip strips that prefix from the start of the path before hashing