B | |
backtrack [Sedlexing] | 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).
|
C | |
create [Sedlexing] |
Create a generic lexer buffer.
|
F | |
from_channel [Sedlexing.Utf16] |
Works as
Utf16.from_gen with an in_channel .
|
from_channel [Sedlexing.Utf8] |
Create a lexbuf from a UTF-8 encoded input channel.
|
from_channel [Sedlexing.Latin1] |
Create a lexbuf from a Latin1 encoded input channel.
|
from_gen [Sedlexing.Utf16] | Utf16.from_gen s opt_bo creates a lexbuf from an UTF-16
encoded stream.
|
from_gen [Sedlexing.Utf8] |
Create a lexbuf from a UTF-8 encoded stream.
|
from_gen [Sedlexing.Latin1] |
Create a lexbuf from a Latin1 encoded stream (ie a stream
of Unicode code points in the range
0..255 )
|
from_gen [Sedlexing] |
Create a lexbuf from a stream of Unicode code points.
|
from_int_array [Sedlexing] |
Create a lexbuf from an array of Unicode code points.
|
from_stream [Sedlexing.Utf16] |
Works as
Utf16.from_gen with a stream .
|
from_stream [Sedlexing.Utf8] |
Create a lexbuf from a UTF-8 encoded stream.
|
from_stream [Sedlexing.Latin1] |
Create a lexbuf from a Latin1 encoded stream (ie a stream
of Unicode code points in the range
0..255 )
|
from_stream [Sedlexing] |
Create a lexbuf from a stream of Unicode code points.
|
from_string [Sedlexing.Utf16] |
Works as
Utf16.from_gen with a string .
|
from_string [Sedlexing.Utf8] |
Create a lexbuf from a UTF-8 encoded string.
|
from_string [Sedlexing.Latin1] |
Create a lexbuf from a Latin1 encoded string.
|
L | |
lexeme [Sedlexing.Utf16] | utf16_lexeme lb bo bom as Sedlexing.lexeme with a result
encoded in UTF-16 in byte_order bo and starting with a BOM
if bom = true .
|
lexeme [Sedlexing.Utf8] |
As
Sedlexing.lexeme with a result encoded in UTF-8.
|
lexeme [Sedlexing.Latin1] |
As
Sedlexing.lexeme with a result encoded in Latin1.
|
lexeme [Sedlexing] | Sedlexing.lexeme lexbuf returns the string matched by the
regular expression as an array of Unicode code point.
|
lexeme_char [Sedlexing.Latin1] |
As
Sedlexing.lexeme_char with a result encoded in Latin1.
|
lexeme_char [Sedlexing] | Sedlexing.lexeme_char lexbuf pos returns code point number pos in
the matched string.
|
lexeme_end [Sedlexing] | Sedlexing.lexeme_end lexbuf returns the offset in the input
stream of the character following the last code point of the
matched string.
|
lexeme_length [Sedlexing] | Sedlexing.loc lexbuf returns the difference
(Sedlexing.lexeme_end lexbuf) - (Sedlexing.lexeme_start
lexbuf) , that is, the length (in code points) of the matched
string.
|
lexeme_start [Sedlexing] | Sedlexing.lexeme_start lexbuf returns the offset in the
input stream of the first code point of the matched string.
|
loc [Sedlexing] | Sedlexing.loc lexbuf returns the pair
(Sedlexing.lexeme_start lexbuf,Sedlexing.lexeme_end
lexbuf) .
|
M | |
mark [Sedlexing] | mark lexbuf i stores the integer i in the internal
slot.
|
N | |
next [Sedlexing] | next lexbuf extracts the next code point from the
lexer buffer and increments to current position.
|
R | |
rollback [Sedlexing] | Sedlexing.rollback lexbuf puts lexbuf back in its configuration before
the last lexeme was matched.
|
S | |
start [Sedlexing] | start t informs the lexer buffer that any
code points until the current position can be discarded.
|
sub_lexeme [Sedlexing.Utf16] | sub_lexeme lb pos len bo bom as
Sedlexing.sub_lexeme with a result encoded in UTF-16 with
byte order bo and starting with a BOM if bom=true
|
sub_lexeme [Sedlexing.Utf8] |
As
Sedlexing.sub_lexeme with a result encoded in UTF-8.
|
sub_lexeme [Sedlexing.Latin1] |
As
Sedlexing.sub_lexeme with a result encoded in Latin1.
|
sub_lexeme [Sedlexing] | Sedlexing.lexeme lexbuf pos len returns a substring of the string
matched by the regular expression as an array of Unicode code point.
|