package coq-core

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
val make : ?loc:Loc.t -> ?fix_loc:(Loc.t -> Loc.t) -> char Gramlib.Stream.t -> t

make ?loc ?fix_loc stream builds a parsable starting at pos loc, and will apply fix_loc to each token. The use of the fix_loc parameter is internal and will be removed in the future as it is reserved to the XML protocol.

val comments : t -> ((int * int) * string) list
val loc : t -> Loc.t
val consume : t -> int -> unit
OCaml

Innovation. Community. Security.