package bistro

  1. Overview
  2. Docs
module B : sig ... end
module Position : sig ... end
type token = [
  1. | `Text of Position.t * Position.t
  2. | `Antiquotation of Position.t * Position.t
]
val __token_of_sexp__ : Ppx_sexp_conv_lib.Sexp.t -> token
val token_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> token
val sexp_of_token : token -> Ppx_sexp_conv_lib.Sexp.t
type lexing_error = [
  1. | `Unmatched_opening_bracket of Position.t
  2. | `Unmatched_closing_bracket of Position.t
]
val __lexing_error_of_sexp__ : Ppx_sexp_conv_lib.Sexp.t -> lexing_error
val lexing_error_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> lexing_error
val sexp_of_lexing_error : lexing_error -> Ppx_sexp_conv_lib.Sexp.t
type lexing_result = (token Base.list, lexing_error) Base.Result.t
val lexing_result_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> lexing_result
val sexp_of_lexing_result : lexing_result -> Ppx_sexp_conv_lib.Sexp.t
val print_lexing_result : lexing_result -> Base.unit
val translate_position : Lexing.position -> from:Lexing.position -> Lexing.position
class ast_loc_transform : object ... end
class ast_translation : Lexing.position -> object ... end
val rewriter : loc:'a -> path:'b -> Base.String.t Ppxlib.loc -> Ppxlib.expression
val loc_start : string -> Lexing.position
val loc_end : file_name:string -> file_contents:Base.String.t -> Lexing.position
val includee_loc : file_name:string -> file_contents:Base.String.t -> Ppxlib.Location.t
val include_rewriter : loc:'a -> path:'b -> Base.string Ppxlib.loc -> Ppxlib.expression
OCaml

Innovation. Community. Security.