class type lexer_obj =Aobject..end
lexer_obj scans from a certain lexer_source. The lexbuf is an
internal value of the lexer_obj.method factory : lexer_factorylexer_factory that created this lexer_objmethod encoding : Pxp_core_types.rep_encodingmethod open_source : Pxp_reader.lexer_source -> unitmethod open_string : string -> unitmethod open_string_inplace : string -> unitmethod scan_document : unit -> token * lexersmethod scan_content : unit -> token * lexersmethod scan_within_tag : unit -> token * lexersmethod scan_document_type : unit -> token * lexersmethod scan_declaration : unit -> token * lexersmethod scan_comment : unit ->
lexers -> token * lexersmethod scan_ignored_section : unit -> token * lexersmethod detect_xml_pi : unit -> boolmethod scan_xml_pi : unit -> prolog_tokenmethod scan_pi_string : unit -> string optionmethod scan_dtd_string : unit -> tokenmethod scan_content_string : unit -> tokenmethod scan_name_string : unit -> tokenmethod scan_for_crlf : unit -> tokenmethod scan_characters : unit -> unitmethod scan_character : unit -> unitmethod scan_tag_eb : unit -> token * lexersmethod scan_tag_eb_att : unit -> bool -> token * lexersmethod lexeme_length : int
For some implementations, this function is very ineffecient.
method lexeme_char : int -> int
For some implementations, this function is very ineffecient.
method lexeme : stringencodingmethod lexeme_strlen : intmethod sub_lexeme : int -> int -> stringencoding.
For some implementations, this function is very ineffecient.