123456789101112131415161718192021222324(** Convenience functions for feeding the automaton. *)open!ImportmoduletypeAutomaton_helpers=sigvalfeed_bytes:(_,'stack)Parser_automaton.state->bytes->'stack->'stackvalfeed_string:(_,'stack)Parser_automaton.state->string->'stack->'stackvalfeed_subbytes:(_,'stack)Parser_automaton.state->bytes->pos:int->len:int->'stack->'stackvalfeed_substring:(_,'stack)Parser_automaton.state->string->pos:int->len:int->'stack->'stackend