File: loc.mli

package info (click to toggle)
ppxlib 0.15.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 1,284 kB
  • sloc: ml: 17,184; sh: 149; makefile: 36; python: 36
file content (15 lines) | stat: -rw-r--r-- 226 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(** Located items *)

open! Import

type 'a t = 'a loc =
  { txt : 'a
  ; loc : Location.t
  }

val txt : 'a t -> 'a
val loc : _ t -> Location.t

val make : loc:Location.t -> 'a -> 'a t

val map : 'a t -> f:('a -> 'b) -> 'b t