package rfsm

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

Module Rfsm.LocationSource

Source program locations

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

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

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