Tokentype pattern = Plexing.patterntype !'te glexer = 'te Plexing.lexer = {tok_func : 'te Plexing.lexer_func;tok_using : pattern -> unit;tok_removing : pattern -> unit;mutable tok_match : pattern -> 'te -> string;tok_text : pattern -> string;mutable tok_comm : Ploc.t list option;}type !'te lexer_func = char Stream.t -> 'te Stream.t * Plexing.Locations.tand location_function = int -> Ploc.tval lexer_text : pattern -> stringval default_match : pattern -> (string * string) -> stringval lexer_func_of_parser :
((char Stream.t * int ref * int ref) -> 'te * Ploc.t) ->
'te lexer_funcval lexer_func_of_ocamllex : (Lexing.lexbuf -> 'te) -> 'te lexer_funcval make_stream_and_location :
(unit -> 'te * Ploc.t) ->
'te Stream.t * Plexing.Locations.tval eval_string : Ploc.t -> string -> stringval restore_lexing_info : (int * int) option reftype location = Ploc.tval make_loc : (int * int) -> Ploc.tval dummy_loc : Ploc.t