123456789101112131415161718192021222324252627(** Convenience functions for feeding the automaton. *)open!ImportmoduletypeAutomaton=sigmoduleStack=Automaton_stackincludemoduletypeofstructincludeAutomaton_stateendvalfeed_bytes:(_,'stack)t->bytes->'stack->'stackvalfeed_string:(_,'stack)t->string->'stack->'stackvalfeed_subbytes:(_,'stack)t->bytes->pos:int->len:int->'stack->'stackvalfeed_substring:(_,'stack)t->string->pos:int->len:int->'stack->'stackvalfeed:('a,'b)t->char->'b->'bvalfeed_eoi:('a,'b)t->'b->'bvalold_parser_cont_state:('a,'b)t->Old_parser_cont_state.tvalof_substring:('u,'s)Mode.t->('u,'s)Kind.t->string->pos:int->len:int->('u,'s)t*'send