package stdune

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Lexbuf.LocSource

Sourcetype t = {
  1. start : Lexing.position;
  2. stop : Lexing.position;
}
Sourceval to_dyn : t -> Dyn.t
Sourceval compare : t -> t -> Ordering.t
Sourceval equal : t -> t -> bool
Sourceval map_pos : t -> f:(Position.t -> Position.t) -> t
Sourceval in_file : fname:string -> t
Sourceval is_file_only : t -> bool
Sourceval of_pos : (string * int * int * int) -> t

To be used with __POS__

Sourceval none : t
OCaml

Innovation. Community. Security.