package ocp-indent-nlfork

  1. Overview
  2. Docs

Lexer positions

A position in a lexer stream

val to_string : t -> string

Pretty-print a position

val zero : t

Initial position

val column : t -> int

Get the coloumn offset associated to a lexing position

OCaml

Innovation. Community. Security.