X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=src%2Fxpath%2Fast.ml;h=c83dd919e4c41f27b48cad20530ebccb7f41c06b;hp=64c6c8da6214b7b863feaa28be40c883b5fd4aed;hb=82fa70675272c579a642c6e62c8fbf28a1bba56c;hpb=53a0fd29a20e7f4550e0eb5fa5b0d5af6191c36d diff --git a/src/xpath/ast.ml b/src/xpath/ast.ml index 64c6c8d..c83dd91 100644 --- a/src/xpath/ast.ml +++ b/src/xpath/ast.ml @@ -14,10 +14,9 @@ (***********************************************************************) (* - Time-stamp: + Time-stamp: *) -open Utils type path = single_path list and single_path = Absolute of step list | Relative of step list @@ -30,7 +29,7 @@ and axis = Self | Attribute | Child | PrecedingSibling | Preceding | Following -and test = QNameSet.t * Tree.Common.NodeKind.t +and test = QNameSet.t * Tree.NodeKind.t and binop = Eq | Neq | Lt | Gt | Lte | Gte | Or | And | Add | Sub | Mult | Div | Mod and unop = Neg @@ -128,7 +127,7 @@ and print_axis fmt a = pp fmt "%s" begin end and print_test fmt (ts,kind) = - let open Tree.Common.NodeKind in + let open Tree.NodeKind in match kind with Text -> pp fmt "%s" "text()" | Element | Attribute ->