7
val dummy_pos : position
10
refill_buff: lexbuf -> unit ;
11
mutable lex_buffer: bytes ;
12
mutable lex_buffer_len: int ;
13
mutable lex_abs_pos: int ;
14
mutable lex_start_pos: int ;
15
mutable lex_curr_pos: int ;
16
mutable lex_last_pos: int ;
17
mutable lex_last_action: int ;
18
mutable lex_eof_reached: bool ;
19
mutable lex_mem: int array ;
20
mutable lex_start_p: position ;
21
mutable lex_curr_p: position }
22
val from_channel : in_channel -> lexbuf
23
val from_string : string -> lexbuf
24
val from_function : (bytes -> int -> int) -> lexbuf
25
val lexeme : lexbuf -> string
26
val lexeme_char : lexbuf -> int -> char
27
val lexeme_start : lexbuf -> int
28
val lexeme_end : lexbuf -> int
29
val lexeme_start_p : lexbuf -> position
30
val lexeme_end_p : lexbuf -> position
31
val new_line : lexbuf -> unit
32
val flush_input : lexbuf -> unit
33
val sub_lexeme : lexbuf -> int -> int -> string
34
val sub_lexeme_opt : lexbuf -> int -> int -> string option
35
val sub_lexeme_char : lexbuf -> int -> char
36
val sub_lexeme_char_opt : lexbuf -> int -> char option
44
lex_base_code: string ;
45
lex_backtrk_code: string ;
46
lex_default_code: string ;
47
lex_trans_code: string ;
48
lex_check_code: string ;
50
val engine : lex_tables -> int -> lexbuf -> int
51
val new_engine : lex_tables -> int -> lexbuf -> int