Module ParsexpSource
Same as Parser but gives back a s-expression as soon as they are found in the input.
Exception raised in case of a conversion error
Exception raised in case of a parsing error
Source
module Single :
Parsexp.Parser
with type parsed_value = Sexplib0.Sexp.t
and type State.t =
(unit, Parsexp__.Automaton_stack.t)
Parsexp__.Automaton_state_intf.State.t
and type Stack.t = Parsexp__.Automaton_stack.tSource
module Many :
Parsexp.Parser
with type parsed_value = Sexplib0.Sexp.t list
and type State.t =
(unit, Parsexp__.Automaton_stack.t)
Parsexp__.Automaton_state_intf.State.t
and type Stack.t = Parsexp__.Automaton_stack.tSource
module Eager :
Parsexp.Eager_parser
with type parsed_value = Sexplib0.Sexp.t
and type State.t =
(unit, Parsexp__.Automaton_stack.t)
Parsexp__.Automaton_state_intf.State.t
and type Stack.t = Parsexp__.Automaton_stack.tSame as Parser but gives back a s-expression as soon as they are found in the input.
Source
module Single_and_positions :
Parsexp.Parser
with type parsed_value = Sexplib0.Sexp.t * Positions.t
and type State.t =
(Positions.Builder.t, Parsexp__.Automaton_stack.t)
Parsexp__.Automaton_state_intf.State.t
and type Stack.t = Parsexp__.Automaton_stack.tSource
module Many_and_positions :
Parsexp.Parser
with type parsed_value = Sexplib0.Sexp.t list * Positions.t
and type State.t =
(Positions.Builder.t, Parsexp__.Automaton_stack.t)
Parsexp__.Automaton_state_intf.State.t
and type Stack.t = Parsexp__.Automaton_stack.tSource
module Eager_and_positions :
Parsexp.Eager_parser
with type parsed_value = Sexplib0.Sexp.t * Positions.t
and type State.t =
(Positions.Builder.t, Parsexp__.Automaton_stack.t)
Parsexp__.Automaton_state_intf.State.t
and type Stack.t = Parsexp__.Automaton_stack.tSame as Parser but gives back a s-expression as soon as they are found in the input.
Source
module Single_just_positions :
Parsexp.Parser
with type parsed_value = Positions.t
and type State.t =
(Positions.Builder.t, unit) Parsexp__.Automaton_state_intf.State.t
and type Stack.t = unitSource
module Many_just_positions :
Parsexp.Parser
with type parsed_value = Positions.t
and type State.t =
(Positions.Builder.t, unit) Parsexp__.Automaton_state_intf.State.t
and type Stack.t = unitSource
module Eager_just_positions :
Parsexp.Eager_parser
with type parsed_value = Positions.t
and type State.t =
(Positions.Builder.t, unit) Parsexp__.Automaton_state_intf.State.t
and type Stack.t = unitSame as Parser but gives back a s-expression as soon as they are found in the input.
Source
module Many_cst :
Parsexp.Parser
with type parsed_value = Cst.t_or_comment list
and type State.t =
(Parsexp__.Automaton_state_intf.For_cst.t,
Parsexp__.Automaton_stack.For_cst.t)
Parsexp__.Automaton_state_intf.State.t
and type Stack.t = Parsexp__.Automaton_stack.For_cst.tSource
module Eager_cst :
Parsexp.Eager_parser
with type parsed_value = Cst.t_or_comment
and type State.t =
(Parsexp__.Automaton_state_intf.For_cst.t,
Parsexp__.Automaton_stack.For_cst.t)
Parsexp__.Automaton_state_intf.State.t
and type Stack.t = Parsexp__.Automaton_stack.For_cst.tSame as Parser but gives back a s-expression as soon as they are found in the input.
Source
module Conv_single :
Parsexp.Conv
with type 'a res := 'a Parsexp.id
and type parsed_sexp := Sexplib0.Sexp.t
and type chunk_to_conv := Sexplib0.Sexp.tSource
module Conv_many :
Parsexp.Conv
with type 'a res := 'a list
and type parsed_sexp := Parsexp.sexp_list
and type chunk_to_conv := Sexplib0.Sexp.tSource
module Conv_many_and_locations :
Parsexp.Conv
with type 'a res := 'a list
and type parsed_sexp := Parsexp.sexp_list * Positions.t
and type chunk_to_conv := Sexplib0.Sexp.t * Positions.rangeSource
module Conv_many_at_once :
Parsexp.Conv
with type 'a res := 'a Parsexp.id
and type parsed_sexp := Parsexp.sexp_list
and type chunk_to_conv := Parsexp.sexp_list