package loc

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

Module Loc.OffsetSource

Sourcetype t = int

Number of bytes from the beginning of the input. The first byte has offset 0. Such offset is named pos_cnum in the Lexing.position terminology.

Sourceval equal : t -> t -> bool
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval of_position : Lexing.position -> t

Reading the pos_cnum of a lexing position.

OCaml

Innovation. Community. Security.