A | |
alt [Ulex] | |
B | |
backtrack [Ulexing] | Ulexing.backtrack lexbuf returns the value stored in the
internal slot of the buffer, and performs backtracking
(the current position is set to the value of the backtrack position).
|
blit_to_int [Utf8] | |
blit_to_int [Utf16] | blit_to_int bo str spos a apos n decode len bytes
from string str starting at position spos into
array a , at position apos .
|
C | |
char_pair_of_number [Utf16] | char_pair_of_number bo cp encodes code point cp into two
characters with byte order bo .
|
chars [Ulex] | |
compile [Ulex] | |
compute_len [Utf8] | |
compute_len [Utf16] | compute_len opt_bo str pos len computes the
number of encoded code points in string str from position
pos to pos+len-1 .
|
create [Ulexing] |
Create a generic lexer buffer.
|
E | |
eps [Ulex] | |
F | |
from_int_array [Utf8] | |
from_int_array [Ulexing] |
Create a lexbuf from an array of Unicode code points.
|
from_int_array [Utf16] | from_int_array bo a apos len bom encodes an int array a
containing len code points from position apos into a string
with byte order bo .
|
from_latin1_channel [Ulexing] |
Create a lexbuf from a Latin1 encoded input channel.
|
from_latin1_stream [Ulexing] |
Create a lexbuf from a Latin1 encoded stream (ie a stream
of Unicode code points in the range
0..255 )
|
from_latin1_string [Ulexing] |
Create a lexbuf from a Latin1 encoded string.
|
from_stream [Utf8] | |
from_stream [Ulexing] |
Create a lexbuf from a stream of Unicode code points.
|
from_stream [Utf16] | from_stream bo s reads the next code point from a stream encoded
in byte order bo .
|
from_utf16_channel [Utf16] |
Works as
from_utf16_stream with an in_channel .
|
from_utf16_stream [Utf16] | from_utf16_stream s opt_bo creates a lexbuf from an UTF-16
encoded stream.
|
from_utf16_string [Utf16] |
Works as
from_utf16_stream with a string .
|
from_utf8_channel [Ulexing] |
Create a lexbuf from a UTF-8 encoded input channel.
|
from_utf8_stream [Ulexing] |
Create a lexbuf from a UTF-8 encoded stream.
|
from_utf8_string [Ulexing] |
Create a lexbuf from a UTF-8 encoded string.
|
from_var_enc_channel [Ulexing] |
Same as
Ulexing.from_var_enc_stream with a channel as input.
|
from_var_enc_stream [Ulexing] |
Create a lexbuf from a stream whose encoding is subject
to change during lexing.
|
from_var_enc_string [Ulexing] |
Same as
Ulexing.from_var_enc_stream with a string as input.
|
G | |
get_buf [Ulexing] |
Direct access to the internal buffer.
|
get_byte_order [Utf16] | get_byte_order c1 c2 determines the byte order by a pair of
bytes/characters c1 and c2 .
|
get_pos [Ulexing] |
Direct access to the current position (end of lexeme) in the
internal buffer.
|
get_start [Ulexing] |
Direct access to the starting position of the lexeme in the
internal buffer.
|
L | |
latin1_lexeme [Ulexing] |
As
Ulexing.lexeme with a result encoded in Latin1.
|
latin1_lexeme_char [Ulexing] |
As
Ulexing.lexeme_char with a result encoded in Latin1.
|
latin1_sub_lexeme [Ulexing] |
As
Ulexing.sub_lexeme with a result encoded in Latin1.
|
lexeme [Ulexing] | Ulexing.lexeme lexbuf returns the string matched by
the regular expression as an array of Unicode code point.
|
lexeme_char [Ulexing] | Ulexing.lexeme_char lexbuf pos returns code point number pos in
the matched string.
|
lexeme_end [Ulexing] | Ulexing.lexeme_end lexbuf returns the offset in the input stream
of the character following the last code point of the matched
string.
|
lexeme_length [Ulexing] | Ulexing.loc lexbuf returns the difference
(Ulexing.lexeme_end lexbuf) - (Ulexing.lexeme_start lexbuf) ,
that is, the length (in code points) of the matched string.
|
lexeme_start [Ulexing] | Ulexing.lexeme_start lexbuf returns the offset in the
input stream of the first code point of the matched string.
|
loc [Ulexing] | Ulexing.loc lexbuf returns the pair
(Ulexing.lexeme_start lexbuf,Ulexing.lexeme_end lexbuf) .
|
M | |
mark [Ulexing] | Ulexing.mark lexbuf i stores the integer i in the internal
slot.
|
N | |
next [Utf8] | |
next [Ulexing] | Ulexing.next lexbuf next extracts the next code point from the
lexer buffer and increments to current position.
|
next_code [Utf16] | next_code bo s pos bytes bo reads the code point starting at
position pos in a string s of total length bytes .
|
number_of_char_pair [Utf16] | number_of_char_pair bo c1 c2 returns the code point encoded in
c1 and c2 following byte order bo .
|
P | |
partitions [Ulex] | |
plus [Ulex] | |
R | |
rep [Ulex] | |
rollback [Ulexing] | Ulexing.rollback lexbuf puts lexbuf back in its configuration before
the last lexeme was matched.
|
S | |
seq [Ulex] | |
start [Ulexing] | Ulexing.start lexbuf informs the lexer buffer that any
code points until the current position can be discarded.
|
store [Utf8] | |
store [Utf16] | store bo buf cp adds a codepoint cp to a buffer buf
following the byte order bo .
|
stream_from_char_stream [Utf8] | |
stream_from_char_stream [Utf16] | stream_from_char_stream opt_stro creates a new int stream
containing the code points encoded in str .
|
sub_lexeme [Ulexing] | Ulexing.lexeme lexbuf pos len returns a substring of the string
matched by the regular expression as an array of Unicode code point.
|
T | |
to_int_array [Utf8] | |
to_int_array [Utf16] | to_int_array opt_bo str spos bytes decodes the string str of
length bytes starting in position spos .
|
U | |
utf16_lexeme [Utf16] | utf16_lexeme lb bo bom as Ulexing.lexeme with a result encoded in
UTF-16 in byte_order bo and starting with a BOM if bom = true .
|
utf16_sub_lexeme [Utf16] | utf16_sub_lexeme lb pos len bo bom as Ulexing.sub_lexeme with a
result encoded in UTF-16 with byte order bo and starting with a BOM
if bom=true
|
utf8_lexeme [Ulexing] |
As
Ulexing.lexeme with a result encoded in UTF-8.
|
utf8_sub_lexeme [Ulexing] |
As
Ulexing.sub_lexeme with a result encoded in UTF-8.
|
W | |
width [Utf8] |