package parsexp

  1. Overview
  2. Docs
module Positions : sig ... end

Compact set of positions

module Cst : sig ... end

Concrete syntax tree of s-expressions

module Parse_error : sig ... end
module type Parser = sig ... end
module type Eager_parser = sig ... end

Same as Parser but gives back a s-expression as soon as they are found in the input.

exception Parse_error of Parse_error.t

Exception raised in case of a parsing error

module Single : Parser with type parsed_value = Parsexp__.Import.Ppx_sexp_conv_lib.Sexp.t
module Many : Parser with type parsed_value = Parsexp__.Import.Ppx_sexp_conv_lib.Sexp.t list
module Eager : Eager_parser with type parsed_value = Parsexp__.Import.Ppx_sexp_conv_lib.Sexp.t

Same as Parser but gives back a s-expression as soon as they are found in the input.

module Single_and_positions : Parser with type parsed_value = Parsexp__.Import.Ppx_sexp_conv_lib.Sexp.t * Positions.t
module Many_and_positions : Parser with type parsed_value = Parsexp__.Import.Ppx_sexp_conv_lib.Sexp.t list * Positions.t
module Eager_and_positions : Eager_parser with type parsed_value = Parsexp__.Import.Ppx_sexp_conv_lib.Sexp.t * Positions.t

Same as Parser but gives back a s-expression as soon as they are found in the input.

Same as Parser but gives back a s-expression as soon as they are found in the input.

module Many_cst : Parser with type parsed_value = Cst.t_or_comment list

Same as Parser but gives back a s-expression as soon as they are found in the input.

module Of_sexp_error : sig ... end
exception Of_sexp_error of Of_sexp_error.t

Exception raised in case of a conversion error

module Conv_error : sig ... end
module type Conv = sig ... end
type 'a id = 'a
type sexp_list = Parsexp__.Import.Ppx_sexp_conv_lib.Sexp.t list
module Conv_single : Conv with type 'a res := 'a id and type parsed_sexp := Parsexp__.Import.Ppx_sexp_conv_lib.Sexp.t and type chunk_to_conv := Parsexp__.Import.Ppx_sexp_conv_lib.Sexp.t
module Conv_many : Conv with type 'a res := 'a list and type parsed_sexp := sexp_list and type chunk_to_conv := Parsexp__.Import.Ppx_sexp_conv_lib.Sexp.t
module Conv_many_at_once : Conv with type 'a res := 'a id and type parsed_sexp := sexp_list and type chunk_to_conv := sexp_list
module Private : sig ... end
OCaml

Innovation. Community. Security.