package rfsm

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

Source program locations

type t =
  1. | Loc of string * int * int
    (*

    Filename, position of the first character, position of the next character following the last one

    *)
val get_current_location : unit -> t
val no_location : t
val input_name : string ref
val input_chan : in_channel ref
val input_lexbuf : Lexing.lexbuf ref
val pp_location : Format.formatter -> t -> unit
val pp_input_name : Format.formatter -> unit
val string_of_location : t -> string
val text_of_location : t -> string
OCaml

Innovation. Community. Security.