Merge branch 'local-ocamlbuild' into local-trunk
[SXSI/xpathcomp.git] / src / tag.mli
1 type t = int
2 type pool
3 val tag : string -> t
4
5 val document_node : t
6 val attribute : t
7 val pcdata : t
8 val attribute_data : t
9 val document_node_close : t
10 val attribute_close : t
11 val pcdata_close : t
12 val attribute_data_close : t
13
14
15 val init : pool -> unit
16 val to_string : t -> string
17 val compare : t -> t -> int
18 val equal : t -> t -> bool
19 val nullt : t
20 val dummy : t
21 val dump : Format.formatter -> t -> unit
22 val check : t -> unit (* Check internal invariants *)
23
24 (* Data structures *)
25 val hash : t -> int
26 val print : Format.formatter -> t -> unit
27
28 val dump_tags : unit -> unit