package coq-lsp

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

Module Coq.Loc_tSource

Sourcetype source = Loc.source =
  1. | InFile of {
    1. dirpath : string option;
    2. file : string;
    }
  2. | ToplevelInput
Sourceval initial : Loc.source -> Loc.t
Sourcetype t = Loc.t = {
  1. fname : source;
    (*

    Filename or toplevel input.

    *)
  2. line_nb : int;
    (*

    Start line number.

    *)
  3. bol_pos : int;
    (*

    Position of the beginning of start line.

    *)
  4. line_nb_last : int;
    (*

    End line number.

    *)
  5. bol_pos_last : int;
    (*

    Position of the beginning of end line.

    *)
  6. bp : int;
    (*

    Start position.

    *)
  7. ep : int;
    (*

    End position.

    *)
}
Sourceval pp : Loc.t -> Pp.t