Module Pxp_lexer_types
type lexers
=
|
Document
|
Document_type
|
Content
|
Within_tag
|
Within_tag_entry
|
Declaration
|
Comment of lexers
|
Ignored_section
|
Closed
|
Tag_eb
|
Tag_eb_att of bool
type prolog_token
=
|
Pro_name of string
|
Pro_eq
|
Pro_string of string
|
Pro_eof
type entity_id
= < pxp_magic_coercion : unit -> unit; >
type token
=
|
Begin_entity
|
End_entity
|
Comment_begin of entity_id
|
Comment_material of string
|
Comment_end of entity_id
|
Ignore
|
IgnoreLineEnd
|
Eq
|
Rangle
|
Rangle_empty
|
Percent
|
Plus
|
Star
|
Bar
|
Comma
|
Qmark
|
Pcdata
|
Required
|
Implied
|
Fixed
|
Bof
|
Eof
|
Conditional_begin of entity_id
|
Conditional_body of entity_id
|
Conditional_end of entity_id
|
Doctype of entity_id
|
Doctype_rangle of entity_id
|
Dtd_begin of entity_id
|
Dtd_end of entity_id
|
Decl_element of entity_id
|
Decl_attlist of entity_id
|
Decl_entity of entity_id
|
Decl_notation of entity_id
|
Decl_rangle of entity_id
|
Lparen of entity_id
|
Rparen of entity_id
|
RparenPlus of entity_id
|
RparenStar of entity_id
|
RparenQmark of entity_id
|
Tag_beg of string * entity_id
|
Tag_end of string * entity_id
|
PI of string * string * entity_id
|
PI_xml of prolog_token list
|
Cdata of string
|
CRef of int
|
ERef of string
|
PERef of string
|
CharData of string
|
Lcurly
|
LLcurly
|
Rcurly
|
RRcurly
|
LineEnd of string
|
LineEnd_att of string
|
Name of string
|
Nametoken of string
|
Attval of string
|
Attval_nl_normalized of string
|
Unparsed_string of string
|
SQuote
|
DQuote
|
ERef_att of string
type lexbuf
=[
|
`Netulex of Netulex.Ulexing.lexbuf
|
`Ocamllex of Stdlib.Lexing.lexbuf
]
class type lexer_factory = object ... end
and lexer_obj = object ... end
type lexer_set
=
{
scan_name_string : Stdlib.Lexing.lexbuf -> token;
}