package stdune

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

Lexing buffer utilities

type t = Stdlib.Lexing.lexbuf
module Position : sig ... end
module Loc : sig ... end
val from_string : string -> fname:string -> t

Same as Lexing.from_xxx but also initialise the location to the beginning of the given file

val from_channel : Stdlib.in_channel -> fname:string -> t
OCaml

Innovation. Community. Security.