projects
/
SXSI
/
xpathcomp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Start making the code tag agnostic.
[SXSI/xpathcomp.git]
/
src
/
tag.mli
diff --git
a/src/tag.mli
b/src/tag.mli
index
6dc51ee
..
7a11be0
100644
(file)
--- a/
src/tag.mli
+++ b/
src/tag.mli
@@
-1,5
+1,12
@@
type t = int
type pool
type t = int
type pool
+type operations = {
+ tag : pool -> string -> t;
+ to_string : pool -> t -> string;
+ nullt : pool -> t;
+ translate : pool -> t -> t
+}
+
val tag : string -> t
val document_node : t
val tag : string -> t
val document_node : t
@@
-12,7
+19,7
@@
val pcdata_close : t
val attribute_data_close : t
val attribute_data_close : t
-val init : pool -> unit
+val init : pool ->
(* operations -> *)
unit
val to_string : t -> string
val compare : t -> t -> int
val equal : t -> t -> bool
val to_string : t -> string
val compare : t -> t -> int
val equal : t -> t -> bool