package rdf

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

Module Rdf.LocSource

Locations.

Sourcetype loc = {
  1. loc_start : Lexing.position;
  2. loc_end : Lexing.position;
}
Sourceval dummy_loc : loc

Dummy location.

Sourceval source_info_string : string -> int -> int -> loc

From the given utf8 string and start and stop characters, return the corresponding location.

Sourceval source_info_file : string -> int -> int -> loc

From the given file and start and stop characters, read the content of the file as utf8, and return the corresponding location.

Sourceval string_of_loc : loc -> string

Return a string representing the given location.

Sourceval pp : Format.formatter -> loc -> unit

Pretty-print the given location.

OCaml

Innovation. Community. Security.