1
(* $Id: pxp_lexers.mli,v 1.5 2001/06/14 23:29:03 gerd Exp $
1
(* $Id: pxp_lexers.mli 702 2004-08-29 11:35:29Z gerd $
2
2
* ----------------------------------------------------------------------
3
3
* PXP: The polymorphic XML parser for Objective Caml.
4
4
* Copyright 1999 by Gerd Stolpmann. See LICENSE for details.
11
val get_lexer_factory : rep_encoding -> lexer_factory
12
(** Return the lexer factory that is able to handle the passed
16
val init : lexer_factory -> unit
17
(** Add a new factory to the set of known factories *)
19
class false_factory : string -> lexer_factory
20
(** A factory that always fails with the passed string when it is
21
* tried to open a source
11
24
val get_lexer_set : rep_encoding -> lexer_set
25
(* DEPRECATED. Only exists because WDialog needs it. This function
26
* is only emulated to the level that WDialog can use it.
12
28
(* Return the set of lexer functions that is able to handle the passed
16
val init : lexer_set -> unit
17
(* Add a new lexerset *)
19
(* ======================================================================
22
* $Log: pxp_lexers.mli,v $
23
* Revision 1.5 2001/06/14 23:29:03 gerd
24
* Arbitrary lexical analyzers can be plugged into the parser,
25
* not only for ISO-8859-1 and UTF-8.
27
* Revision 1.4 2000/05/29 23:48:38 gerd
28
* Changed module names:
29
* Markup_aux into Pxp_aux
30
* Markup_codewriter into Pxp_codewriter
31
* Markup_document into Pxp_document
32
* Markup_dtd into Pxp_dtd
33
* Markup_entity into Pxp_entity
34
* Markup_lexer_types into Pxp_lexer_types
35
* Markup_reader into Pxp_reader
36
* Markup_types into Pxp_types
37
* Markup_yacc into Pxp_yacc
38
* See directory "compatibility" for (almost) compatible wrappers emulating
39
* Markup_document, Markup_dtd, Markup_reader, Markup_types, and Markup_yacc.
41
* Revision 1.3 2000/05/29 21:14:57 gerd
42
* Changed the type 'encoding' into a polymorphic variant.
44
* Revision 1.2 2000/05/23 00:09:44 gerd
45
* The UTF-8 lexer set is no longer initialized here. It is done
46
* in the new module Pxp_utf8. Reason: You can link without UTF-8 support.
48
* Revision 1.1 2000/05/20 20:30:50 gerd