123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869(** Parsing of s-expression *)open!ImportmoduletypeParsexp=sigmoduleConv_error=Conv_errormoduleOf_sexp_error=Of_sexp_errormoduleOld_parser_cont_state=Old_parser_cont_statemoduleParse_error=Parse_errormodulePositions=PositionsmoduleCst=CstmoduletypeConv=Conv.SmoduletypeParser=Parser.SmoduletypeEager_parser=Parser.S_eager(** Exception raised in case of a conversion error *)exceptionOf_sexp_errorofOf_sexp_error.t(** Exception raised in case of a parsing error *)exceptionParse_errorofParse_error.tmoduleSingle:Parserwithtypeparsed_value=Sexp.tmoduleMany:Parserwithtypeparsed_value=Sexp.tlistmoduleEager:Eager_parserwithtypeparsed_value=Sexp.tmoduleSingle_and_positions:Parserwithtypeparsed_value=Sexp.t*Positions.tmoduleMany_and_positions:Parserwithtypeparsed_value=Sexp.tlist*Positions.tmoduleEager_and_positions:Eager_parserwithtypeparsed_value=Sexp.t*Positions.tmoduleSingle_just_positions:Parserwithtypeparsed_value=Positions.tmoduleMany_just_positions:Parserwithtypeparsed_value=Positions.tmoduleEager_just_positions:Eager_parserwithtypeparsed_value=Positions.tmoduleMany_cst:Parserwithtypeparsed_value=Cst.t_or_commentlistmoduleEager_cst:Eager_parserwithtypeparsed_value=Cst.t_or_comment(*_ These type synonyms are introduced because ocaml <4.06
do not support destructive substitutions with `type 'a t1 = t2`
or `type t1 = 'a t2`. *)type'aid='atypesexp_list=Sexp.tlistmoduleConv_single:Convwithtype'ares:='aidandtypeparsed_sexp:=Sexp.tandtypechunk_to_conv:=Sexp.tmoduleConv_many:Convwithtype'ares:='alistandtypeparsed_sexp:=sexp_listandtypechunk_to_conv:=Sexp.tmoduleConv_many_at_once:Convwithtype'ares:='aidandtypeparsed_sexp:=sexp_listandtypechunk_to_conv:=sexp_list(*_ For tests *)(*_ See the Jane Street Style Guide for an explanation of [Private] submodules:
https://opensource.janestreet.com/standards/#private-submodules *)modulePrivate:sigmoduleAutomaton=AutomatonmoduleAutomaton_stack=Automaton_stackmoduleAutomaton_state=Automaton_statemodulePositions=Positionsendend